☰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

How can I use countplots from seaborn with Bokeh?

Community Support
oliver.a.grace
oliver.a.grace

As the subject says, how can I use countplots from seaborn with bokeh?

My code is in line with the example:

import seaborn as sns

from bokeh import mpl

from bokeh.plotting import output_file, show

burg = pd.read_csv(‘BURGLARY.csv’)

sns.countplot(‘Month’, data=burg, hue=‘Year’, palette=‘coolwarm’)

output_file(“count.html”)

show(mpl.to_bokeh())

This simply results with page rendered but white.

⌁   Link to post

End of archived discussion · Replies are disabled