While following this example (tile_xyzservices — Bokeh 3.6.2 Documentation) I have noticed some some uncaught error that are related to tiles based on
xyz.OpenStreetMap.Mapnik
. This also leads to layout issues (tabs overlay).
Any idea what is going on?
Uncaught Error: Assertion failed
a http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:178
c http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:178
get_extent http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:659
_set_data http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:659
_paint http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:659
paint http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:249
_paint_levels http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:623
_actual_paint http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:623
paint http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:623
_after_layout http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:623
after_layout http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:588
after_layout http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:588
after_layout http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:588
after_layout http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:588
compute_layout http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:588
invalidate_layout http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:588
_after_render http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:588
after_render http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:277
r_after_render http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:223
_after_resize http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:588
after_resize http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:277
_resize_observer http://localhost:5006/static/js/bokeh.min.js?v=7b53bd5c9e3da7dab0a6954653d5ff549d082f58d03eafe7e0b956b690138e3788c99fc68ad65e005b304417171f0369d8f3a2fc678ad79d9a58890a7e656baf:277
from bokeh.io import curdoc
from bokeh.models import TabPanel, Tabs
from bokeh.plotting import figure
import xyzservices.providers as xyz
t1 = figure(x_axis_type="mercator", y_axis_type="mercator", sizing_mode="stretch_both", match_aspect=True)
t1.add_tile(xyz.OpenStreetMap.Mapnik) # Note: This will trigger a JS assertion error
app_layout = Tabs(tabs=[
TabPanel(child=t1, title="Rides"),
TabPanel(child=figure(), title="Analytics"),
],
sizing_mode="stretch_both"
)
curdoc().add_root(app_layout)