Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0c31249

Browse filesBrowse files
committed
Bump codespell version
1 parent c085264 commit 0c31249
Copy full SHA for 0c31249

File tree

Expand file treeCollapse file tree

3 files changed

+5
-4
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+5
-4
lines changed

‎.pre-commit-config.yaml

Copy file name to clipboardExpand all lines: .pre-commit-config.yaml
+1-1Lines 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

Copy file name to clipboardExpand all lines: ci/codespell-ignore-words.txt
+1Lines 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

Copy file name to clipboardExpand all lines: lib/matplotlib/figure.py
+3-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.