And there is even a small proof of concept using CustomJSTransform in one of the comments. If someone is interested in working on this, i.e. to create a more supported, built-in capability, I'd be happy to help advise/provide guidance. I think it's unlikely given current available resources that anyone on the core team will be able to prioritize it in the near future.
Is there a polar plot available in Bokeh?
I try to plot polar graph like the following picture but i couldn't find a way to do it in Bokeh.
<polar.png>
And there is even a small proof of concept using CustomJSTransform in one of the comments. If someone is interested in working on this, i.e. to create a more supported, built-in capability, I’d be happy to help advise/provide guidance. I think it’s unlikely given current available resources that anyone on the core team will be able to prioritize it in the near future.
I think Bokeh is wonderful, but the lack of polar plots is a deal breaker for us. Polar plots are an essential type in so many scientific applications. Consider wind speed and direction over a 4 hour time period as plotted unsing dash/plotly.
I don’t want to use Dash/Plotly, I think their approach is inferior to Bokeh and their community support has not been very good. Oh yeah, Bokeh documentation is much better. But we just have to have polar plots!
Beyond that the plot configuration comprises (i) hiding the rectangular gridlines, (ii) adding Annulus glyphs (with equal inner- and outer- radii) and corresponding LabelSets for the constant speed radii, and (iii) adding Line glyphs and corresponding LabelSets for the cardinal and ordinal directions.
Then, convert your polar data to (x,y) points in the source passed to whatever glyph (e.g. circles) you choose to render the data.
Here’s another example of a radial equalizer, which I am working on as a user-interface to tune weights in a high-dimensional optimization problem.
So, although its different in the details and application, using glyphs and callbacks on them to set algorithm parameters rather than visualize data, the example is meant to show that all of the capabilities to do what you want and make it look how you want are probably available in bokeh already.