8000 Merge pull request #7665 from Eric89GXL/fix-super · matplotlib/matplotlib@db9b188 · GitHub
[go: up one dir, main page]

Skip to content

Commit db9b188

Browse files
committed
Merge pull request #7665 from Eric89GXL/fix-super
FIX: Fix super call for Python 2.7
1 parent 2b443ec commit db9b188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_qt5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ def _init_toolbar(self):
617617
# the actual sizeHint, so override it instead in order to make the
618618
# aesthetic adjustments noted above.
619619
def sizeHint(self):
620-
size = super().sizeHint()
620+
size = super(NavigationToolbar2QT, self).sizeHint()
621621
size.setHeight(max(48, size.height()))
622622
return size
623623

0 commit comments

Comments
 (0)
0