Reputation: 1459
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!
Upvotes: 4
Views: 6078
Reputation: 482
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
Upvotes: 19