When adding secondary vertical axes, the range of primary axes is too wide

By default, a DataRange1d will auto-range using all available glyph renderers, If you want to restrict to only a subset of glyphs, you have to tell it which ones you want by setting the renderers property of the range. The example demonstrates here this:

bokeh/eclipse.py at branch-3.0 · bokeh/bokeh · GitHub

1 Like