☰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

histogram with non-numeric column type

Community Support
Ajinkya_Kale
Ajinkya_Kale

Does bokeh support histograms with character/non-numeric column types ?

Sample -

from bokeh.sampledata.autompg import autompg as df

hist = Histogram(df[‘name’])

show(hist)

Pandas plotting supports it -

df[‘name’].value_counts().plot(kind=‘barh’)

–aj

⌁   Link to post
Bryan
Bryan

Looks like it's not currently supported in bokeh.charts natively. Could you make a feature request issue on GitHub for this? In the mean time you could create a histogram "by hand" using the slightly lower level bokeh.plotting interface.

Bryan

···

On Dec 30, 2015, at 6:13 PM, Ajinkya Kale <kaleajinkya@gmail.com> wrote:

Does bokeh support histograms with character/non-numeric column types ?

Sample -

from bokeh.sampledata.autompg import autompg as df
hist = Histogram(df['name'])
show(hist)

Pandas plotting supports it -
df['name'].value_counts().plot(kind='barh')

--aj

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/54ddcfe9-38ca-4d0b-8a50-3a7f55ec73d5%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post

End of archived discussion · Replies are disabled