When plotting both tile & line with a mercator axis the tile will be squeezed upon reset. The tile aspect ratio will fix itself once I zoom out and in again. Is there a way to avoid this?
from bokeh.io import curdoc
from bokeh.layouts import row, column
from bokeh.models import ColumnDataSource
from bokeh.plotting import figure
source = ColumnDataSource({"x": [0, 1e6, 2e6, 1e6],
"y": [8100000, 6100000, 4100000, 2100000]})
p = figure(width=600, height=600, x_axis_type="mercator", y_axis_type="mercator", )
p.add_tile("CartoDB Positron", retina=True)
p.line(x="x", y="y", source=source, line_width=4, line_color="red")
curdoc().add_root(p)