☰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

bokeh Histogram custom bins

Community Support
sushmit86
sushmit86

down votefavorite

Is there a way to give Bins as a custom bins in Bokeh with histogram plots ,

so for example instead of hist = Histogram(df, values='hp', color='cyl', title="HP Distribution by Cylinder Count", legend='top_right' , bins = 20)I want bins to be a list

⌁   Link to post
Bryan
Bryan

Will be added in https://github.com/bokeh/bokeh/pull/4250

Thanks,

Bryan

···

On May 2, 2016, at 11:11 AM, sushmit86@gmail.com wrote:

down vote
favorite
Is there a way to give Bins as a custom bins in Bokeh with histogram plots ,

so for example instead of

hist = Histogram(df, values='hp', color='cyl',
                 title="HP Distribution by Cylinder Count", legend='top_right' , bins = 20)

I want bins to be a list

--
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/2efadb33-d7cb-4b36-9eee-1a91fd83ccc3%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