Annular_wege label?

Hello,
How can I create labels (arc) with annular_wedge ?

thank you

SR

Hi,

Do you mean curved text? If so there is nothing build into Bokeh for that. Perhaps you could write a custom extension to accomplish it somehow. Otherwise if you just mean standard labels, I think you will be stuck computing the label positions yourself at the moment. Point/marker-like glyphs work well with LabelSet described here:

  https://bokeh.pydata.org/en/latest/docs/user_guide/annotations.html#labels

But wedges don't have any coordinates for LabelSet to use, except the center x,y positions, which is not useful in this case. There have been vague discussions in the past of adding some notion of "anchor points" to glyphs so that the glyphs could define good points to attach labels, etc themselves, but nothing yet has ever come of that. Please feel free to make an issue on GitHub for new feature development.

Thanks,

Bryan

ยทยทยท

On Jan 30, 2018, at 16:05, [email protected] wrote:

Hello,
How can I create labels (arc) with annular_wedge ?

thank you

SR

--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/8cef1975-103b-47a0-8aca-5bc12e534a9f%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.