8000 MNT: Don't need the self in super __getitem__ · matplotlib/matplotlib@fdfb92b · GitHub
[go: up one dir, main page]

Skip to content

Commit fdfb92b

Browse files
committed
MNT: Don't need the self in super __getitem__
1 parent ae0b6f3 commit fdfb92b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/mpl_toolkits/axes_grid1/mpl_axes.py

Lines 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