Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I remove grid lines from a Bokeh plot?

Tags:

I would like to remove the grid lines from a Bokeh plot. What is the best way to do this?

like image 309
MRocklin Avatar asked Mar 27 '16 07:03

MRocklin


People also ask

How do you get rid of the grid in Seaborn plot?

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.


1 Answers

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
like image 147
Nick stands with Ukraine Avatar answered Oct 14 '22 08:10

Nick stands with Ukraine