☰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

Using datashader with bokeh

Community Support
ahmettemiz88
ahmettemiz88

Hi
I developed my app using bokeh. It comprises so many patches ( gis - polygons).
It is very slow on rendering the front page.

So, I want to rasterize the patches using datashader in bokeh (without using holoviews).
(All the examples I saw are on holoviews)
Is it possible to use datashader with bokeh? Or Is there any alternative way?

regards

⌁   Link to post
Bryan
Bryan

It’s certainly possible — Datashader just generates images, and Bokeh can display images. In standalone (non-server) content, you can compute the Datashader in Python up front and show it as a static image in the output. In the case of a Bokeh server application, there is the possibility of re-computing new Datashader images in Python callbacks based on user input or interaction. [1]

But you’ll have to manage all that manually. A tighter integration that is managed at a higher level is the primary benefit of using Holoviews for Datashsader.


  1. I suppose you could also use Datashader to pre-process lots of tiles that could be used with a TileRender to support zooming, panning, etc without a Bokeh server. But I have never done this personally or seen it done. ↩︎

⌁   Link to post

End of archived discussion · Replies are disabled