How can I hide both x and y axis in a bokeh plot ? I've checked and tried based on this :
p1= figure (... visible=None) p1.select({"type": "Axis", "visible": 0}) xaxis = Axis(plot=p1, visible = 0)   and like http://docs.bokeh.org/en/latest/docs/user_guide/styling.html#axes
You can hide the lines by setting their grid_line_color to None .
Create a figure object.
 So, in your example the figure object is p1, then p1.axis.visible = False
 If you want to specify a y or x axis, then use p1.xaxis.visible = False or p1.yaxis.visible = False
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With