Bokeh grid lines
See original GitHub issueNot sure if bokeh has changed the default way they draw grid lines but I noticed that show_grid=True
in opts no longer has any effect for me (holoviews 1.8.4 and bokeh 0.12.6). The following change fixes it but I wanted to make sure I wasn’t crazy first and confirm that someone else is having this problem. This doesn’t give much control over the grid shown though 😞
in holoviews/plotting/bokeh/element.ElementPlot._update_plot
change
if not self.show_grid:
plot.xgrid.grid_line_color=None
plot.ygrid.grid_line_color=None
to
if self.show_grid:
plot.xgrid.grid_line_color='black'
plot.ygrid.grid_line_color='black'
Thoughts? Is there a better/easier way to get grid lines or should I raise a PR?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
grids — Bokeh 2.4.1 Documentation
grids¶. A guide renderer for displaying grid lines on Bokeh plots. ... Display horizontal or vertical grid lines at locations given by a...
Read more >How do I remove grid lines from a Bokeh plot? - Stack Overflow
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 =...
Read more >Bokeh - grid layout of plots - GeeksforGeeks
The layout functions let you build a grid of plots and widgets. You can nest as many rows, columns, or grids of plots...
Read more >Styling Visual Attributes — Bokeh 0.10.0 documentation
In this section you will learn how to set the visual properties of grid lines and grid bands on Bokeh plots. Similar to...
Read more >Python Bokeh grid plot - Educative.io
Bokeh is used for several kinds of plots namely scatter plots, grid plots, and line plots. Let's see how to make a simple...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It is now possible to set an explicit gridstyle which is documented in the plotting with bokeh user guide.
Thanks, that’s helpful!