I am playing around with Bokeh
for some time now and am really amazed how easy it is to create beautiful charts
.
There is one visual thing I am not able to solve, however.
If I turn of background and borders all my charts still have some kind of border / frame. Can you turn this off as well?
E.g. If I use the following code to turn off my background, border and axis I still end up with a frame around the plot figure.
p.xaxis.visible = False
p.yaxis.visible = False
p.xgrid.visible = False
p.ygrid.visible = False
p.background_fill_color = None
p.border_fill_color = None
Here is my plot example.
Any idea how to get rid of the grey frame
?
Thanks for your help!
You can remove it by setting p.outline_line_color to None.
Also by the way you can set p.axis.visible and p.grid.visible you don't need to specify the x and y axes separately
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