☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Prevent tiles from turning grey with Zoom In

Community Supporttilewmts
Eric_Johnson
Eric_Johnson

Been a long time, sorry just responding now. Below is a minimal reproducible example.

Bokeh 2.4.2

I get the same as you did Bryan on that example, so the issue appears to be with ESRI_IMAGERY.

Is there a way to set the ESRI’s " NoDataTileBehavior". That would be nice to zoom in further without the map turning grey.

from bokeh.plotting import figure, output_file, show
from bokeh.tile_providers import ESRI_IMAGERY, get_provider

tile_provider = get_provider(ESRI_IMAGERY)

# range bounds supplied in web mercator coordinates
p = figure(x_range=(-2000000, 6000000), y_range=(-1000000, 7000000),
           x_axis_type="mercator", y_axis_type="mercator")
p.add_tile(tile_provider)

show(p)
⌁   Link to post
Bryan
Bryan

Not AFAIK, but only because we didn’t know about it. Bokeh now offloads all tile provider configuration to xyzservices. So it’s possible that we could simply configure our usage of their API differently somehow, but it may also be the case that upstream changes to xyzservices itself will be required. I’d suggest making a Bokeh GitHub Issue to start a dev discussion.

⌁   Link to post

End of archived discussion · Replies are disabled