Skip to content

Commit a83c6b4

Browse files
committed
ruff
1 parent 42aea20 commit a83c6b4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plotly/_subplots.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,10 @@ def _check_hv_spacing(dimsize, spacing, name, dimvarname, dimname):
750750
_configure_shared_axes(layout, grid_ref, specs, "y", shared_yaxes, row_dir, False)
751751

752752
any_secondary_y = any(
753-
spec["secondary_y"] for spec_row in specs for spec in spec_row if spec is not None
753+
spec["secondary_y"]
754+
for spec_row in specs
755+
for spec in spec_row
756+
if spec is not None
754757
)
755758
if any_secondary_y:
756759
_configure_shared_axes(

0 commit comments

Comments
 (0)