Archived discussions · Captured October 28, 2026
How to style only origin grid lines
Community Supportbokeh

There’s a few possibilities:
-
Manually add two new
Gridinstances to the plot, configured with fixed tickers that only generate tick locations for zero. You can configure the grid line color and width, etc on the new grids. -
Use
Spanannotations instead: Adding annotations — Bokeh 2.4.3 Documentation (note hard-versioned link to 2.4.3 docs, the User’s Guide is about to be completely restructured for upcoming 3.0) -
You could also move the axes themselves, if that is appropriate, see

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
End of archived discussion · Replies are disabled
