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
black
  • Loading branch information
Gareth Williams committed May 12, 2025
commit dcc607c1b34f4aebfbfbe23d37eefa363ebd12c6
8 changes: 6 additions & 2 deletions plotly/_subplots.py
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,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:
_configure_shared_axes(layout, grid_ref, specs, "y", shared_yaxes, row_dir, True)
_configure_shared_axes(
layout, grid_ref, specs, "y", shared_yaxes, row_dir, True
)

# Build inset reference
# ---------------------
Expand Down Expand Up @@ -889,7 +891,9 @@ def _check_hv_spacing(dimsize, spacing, name, dimvarname, dimname):
return figure


def _configure_shared_axes(layout, grid_ref, specs, x_or_y, shared, row_dir, secondary_y):
def _configure_shared_axes(
layout, grid_ref, specs, x_or_y, shared, row_dir, secondary_y
):
rows = len(grid_ref)
cols = len(grid_ref[0])

Expand Down