☰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

Pie Chart in Bokeh Widget

Community Support
Mateusz_Paprocki
Mateusz_Paprocki

Hi,

···

On Wed, Jan 21, 2015 at 6:05 PM, Benji Xie bxiemit@gmail.com wrote:

Hi,

I’m trying to put a pie chart into a Bokeh app (similar to the stock_applet).

I haven’t found anything in bokeh.plotting interface. You can use a Donut from bokeh.charts (example here), but I don’t know how to add that to a widget/app.

Ideas on how to get a pie chart into an app?

As of bokeh 0.7.1, charts aren’t properly coupled with the core bokeh, so such embedding is far from obvious, if at all possible. However, there is ongoing work in https://github.com/bokeh/bokeh/issues/1574 to improve this, so in 0.8 (middle of February) you will be able to use charts wherever Plot/Widget is allowed in the API.

Fabio, maybe there is temporary workaround?

Mateusz

Thanks!

-Benji

–

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/84b3724f-4b01-4da3-9ab4-c96c8daf0b80%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post
Fabio_Pliger
Fabio_Pliger

Hi Benji,

As Mateusz mentioned, there is going to be a big change (and improvement) regarding charts integration and API shipping with the next release (0.8). For now the best workaround you can do is described in this discussion:

https://groups.google.com/a/continuum.io/forum/?utm_medium=email&utm_source=footer#!topic/bokeh/uUN23e2i3Jg

Thanks for your interest!

Fabio

···

On Wednesday, January 21, 2015 at 6:05:27 PM UTC+1, Benji Xie wrote:

Hi,

I’m trying to put a pie chart into a Bokeh app (similar to the stock_applet).

I haven’t found anything in bokeh.plotting interface. You can use a Donut from bokeh.charts (example here), but I don’t know how to add that to a widget/app.

Ideas on how to get a pie chart into an app?

Thanks!

-Benji

⌁   Link to post
Benji_Xie
Benji_Xie

February will be a very exciting month for me then.

Thanks for the response and thanks for doing what you do!

···

On Thursday, January 22, 2015 at 12:39:29 PM UTC-5, Fabio Pliger wrote:

Hi Benji,

As Mateusz mentioned, there is going to be a big change (and improvement) regarding charts integration and API shipping with the next release (0.8). For now the best workaround you can do is described in this discussion:

https://groups.google.com/a/continuum.io/forum/?utm_medium=email&utm_source=footer#!topic/bokeh/uUN23e2i3Jg

Thanks for your interest!

Fabio

On Wednesday, January 21, 2015 at 6:05:27 PM UTC+1, Benji Xie wrote:

Hi,

I’m trying to put a pie chart into a Bokeh app (similar to the stock_applet).

I haven’t found anything in bokeh.plotting interface. You can use a Donut from bokeh.charts (example here), but I don’t know how to add that to a widget/app.

Ideas on how to get a pie chart into an app?

Thanks!

-Benji

⌁   Link to post

End of archived discussion · Replies are disabled