The Burtin example does not actually use any sort of built-in axis, or axis object. It just transforms the radii values according to the sqrt(log(...)) rule that Burtin evidently used. If you don't want that, you could try removing those parts from the radii line below, i.e.
radii = a * labels + b
But I can't promise the result will look good, or that there might not be other adjustments that would have to be made (the legend is also custom and hand drawn and might need its placement adjusted, not sure).
The current Burtin example uses a logarithmic axis. How do I change it to a linear axis? Please advise!
Thank you so much!
Em
From http://bokeh.pydata.org/en/latest/docs/gallery/burtin.html:
# circular axes and lables
labels = np.power(10.0, np.arange(-3, 4))
radii = a * np.sqrt(np.log(labels * 1E4)) + b
p.circle(0, 0, radius=radii, fill_color=None, line_color="white")
p.text(0, radii[:-1], [str(r) for r in labels[:-1]],
On Mon, Dec 5, 2016 at 10:39 AM, Bryan Van de Ven [email protected] wrote:
Hi Em,
The Burtin example does not actually use any sort of built-in axis, or axis object. It just transforms the radii values according to the sqrt(log(…)) rule that Burtin evidently used. If you don’t want that, you could try removing those parts from the radii line below, i.e.
radii = a * labels + b
But I can’t promise the result will look good, or that there might not be other adjustments that would have to be made (the legend is also custom and hand drawn and might need its placement adjusted, not sure).