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 fdfb92b

Browse filesBrowse files
committed
MNT: Don't need the self in super __getitem__
1 parent ae0b6f3 commit fdfb92b
Copy full SHA for fdfb92b

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed

‎lib/mpl_toolkits/axes_grid1/mpl_axes.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/axes_grid1/mpl_axes.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ def __init__(self, axes):
3434
def __getitem__(self, k):
3535
if isinstance(k, tuple):
3636
r = SimpleChainedObjects(
37-
[super(Axes.AxisDict, self).__getitem__(self, k1)
38-
for k1 in k])
37+
[super(Axes.AxisDict, self).__getitem__(k1) for k1 in k])
3938
return r
4039
elif isinstance(k, slice):
4140
if k.start is None and k.stop is None and k.step is None:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.