Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feedback
  • Loading branch information
gmjw committed Jul 19, 2025
commit 99e7e3f3d500b06c6111db12c341a9c265080854
4 changes: 3 additions & 1 deletion plotly/_subplots.py
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,9 @@ def _check_hv_spacing(dimsize, spacing, name, dimvarname, dimname):

_configure_shared_axes(layout, grid_ref, specs, "x", shared_xaxes, row_dir, False)
_configure_shared_axes(layout, grid_ref, specs, "y", shared_yaxes, row_dir, False)
if secondary_y:

any_secondary_y = any(spec["secondary_y"] for spec_row in specs for spec in spec_row if spec is not None)
if any_secondary_y:
_configure_shared_axes(
layout, grid_ref, specs, "y", shared_yaxes, row_dir, True
)
Expand Down