☰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

Customizing a grouped bar chart

Community Support
cpdiehl
cpdiehl

Hi All,

I’m just starting with Bokeh and would like to add additional plot elements to a grouped bar chart. For example, I’d like to draw lines to represent the uncertainty in the height of each bar in the chart. One question I have is how do I identify the x coordinates of the centers of the bars in the grouped bar chart?

Another question I have is about the display order of the bars. Is there any way to specify the order? There are ordinal values associated with each bar and unfortunately they are showing up in the legend in an arbitrary order. I’d love for the bars in each group to be displayed such that the legend labels are in proper order. It’s just not clear from the documentation how to pull that off.

Appreciate any guidance you can provide!

Chris

⌁   Link to post

End of archived discussion · Replies are disabled