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
linewidth
  • Loading branch information
gmjw committed Jul 19, 2025
commit 42aea2083b2e804f9c3b0a1af99153149af56f15
4 changes: 3 additions & 1 deletion plotly/_subplots.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,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)

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