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
ruff
  • Loading branch information
gmjw committed Jul 19, 2025
commit a83c6b4bedc3b6a036b57520eae3913a7dd780b3
5 changes: 4 additions & 1 deletion plotly/_subplots.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,10 @@ def _check_hv_spacing(dimsize, spacing, name, dimvarname, dimname):
_configure_shared_axes(layout, grid_ref, specs, "y", shared_yaxes, row_dir, False)

any_secondary_y = any(
spec["secondary_y"] for spec_row in specs for spec in spec_row if spec is not None
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(
Expand Down