Thanks to visit codestin.com
Credit goes to github.com

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)