Skip to content

Commit 0c31249

Browse files
committed
Bump codespell version
1 parent c085264 commit 0c31249

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ repos:
5050
- id: ruff
5151
args: [--fix, --show-fixes]
5252
- repo: https://github.com/codespell-project/codespell
53-
rev: v2.3.0
53+
rev: v2.4.1
5454
hooks:
5555
- id: codespell
5656
files: ^.*\.(py|c|cpp|h|m|md|rst|yml)$

ci/codespell-ignore-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
aas
2+
ABD
23
axises
34
coo
45
curvelinear

lib/matplotlib/figure.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2122,9 +2122,9 @@ def _do_layout(gs, mosaic, unique_ids, nested):
21222122
# go through the unique keys,
21232123
for name in unique_ids:
21242124
# sort out where each axes starts/ends
2125-
indx = np.argwhere(mosaic == name)
2126-
start_row, start_col = np.min(indx, axis=0)
2127-
end_row, end_col = np.max(indx, axis=0) + 1
2125+
index = np.argwhere(mosaic == name)
2126+
start_row, start_col = np.min(index, axis=0)
2127+
end_row, end_col = np.max(index, axis=0) + 1
21282128
# and construct the slice object
21292129
slc = (slice(start_row, end_row), slice(start_col, end_col))
21302130
# some light error checking

0 commit comments

Comments
 (0)