☰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

Heatmap on map of floating PV

Community Support
IJustWantedToKissYou
IJustWantedToKissYou

Hi everyone!

I am trying to make a map of a floating PV solar farm that shows performance ( or temp, current etc.) for the different groups of solar panels at a chosen date (chosen with a DateSlider).

I want the map to show a clear separation between the groups (grouped as in the image). In addition the groups should be colored according how well they perform.

I have tried bokeh.charts HeatMap but it is deprecated.

What do you think is the best approach to this?

Thanks for your help!

⌁   Link to post
_jm
_jm

Hi @IJustWantedToKissYou

Check out the rect glyph. You can use a color-mapper, e.g. LinearColorMapper, to equate a variable in your data at each (x,y) coordinate to some color-coded measure like performance, temperature, or whatever.

You can look through the bokeh documentation and examples online. Or, see this discourse topic – or perhaps others – that have some of the relevant syntax (ignoring of course the posters issues with how they formatted the data and focusing on the details of setting up the plot and color-mapper).

⌁   Link to post

End of archived discussion · Replies are disabled