☰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

Issue with construct_color_bar

Community Supportbokeh
latch001
latch001

Hi, I am trying to learn how to create heatmaps with Bokeh. To start I am just trying to run the code from the heatmap example in the docs. However, when I run the code I get the following error:

---> 43 p.add_layout(r.construct_color_bar(

AttributeError: 'GlyphRenderer' object has no attribute 'construct_color_bar'

Can anyone tell me what is going wrong and how I can create the color bar? Thanks

⌁   Link to post

End of archived discussion · Replies are disabled