Well, it turns out JupyterLab with the new dark theme is the source of the issue? Is this a known bug? If I use just Jupyter or the default “white” theme under JupyterLab everything (tooltips) just work.
Any takers on question 2? Is that a p.text thing? I’m still trying to find an example.
-aps
···
On Monday, November 26, 2018 at 3:12:08 PM UTC-5, pisymbol wrote:
First off, love me some bokeh but I am struggling with a few simple things.
I am following the example of using “wedge” from here:
For the JLab question: no idea really, it's possible JLab introduced some breaking change. If this can be made into a complete minimal reproducer, a GH issue is a reasonable next step.
For question 2 you probably want to use Label or LabelSet to label the wedges:
Either way you'll probably need to compute the locations for the labels yourself, for now. Ideally the glyph could expose various computed anchor coordinates that could drive LabelSet directly, but this is not yet possible.
1) Tooltips are not being displayed when I hover over a section. I see "origin" and I see "count" but not their values. Why?
2) How do I display the percentages on top of the pie chart if I so choose?
Well, it turns out JupyterLab with the new dark theme is the source of the issue? Is this a known bug? If I use just Jupyter or the default "white" theme under JupyterLab everything (tooltips) just work.
Any takers on question 2? Is that a p.text thing? I'm still trying to find an example.
For the JLab question: no idea really, it’s possible JLab introduced some breaking change. If this can be made into a complete minimal reproducer, a GH issue is a reasonable next step.
For question 2 you probably want to use Label or LabelSet to label the wedges:
Either way you’ll probably need to compute the locations for the labels yourself, for now. Ideally the glyph could expose various computed anchor coordinates that could drive LabelSet directly, but this is not yet possible.
That is a big bummer. But OK, that is doable. Thanks for letting me know.
-aps
···
On Monday, November 26, 2018 at 5:55:49 PM UTC-5, Bryan Van de ven wrote: