I would like to remove the grid lines from a Bokeh plot. What is the best way to do this?
Create a data frame using DataFrame wth keys column1 and column2. Use data frame data to plot the data frame. To get rid of gridlines, use grid=False.
Have a look at the Bokeh line styling documentation
You can hide the lines by setting their grid_line_color
to None
.
fig.xgrid.grid_line_color = None
fig.ygrid.grid_line_color = None
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