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

Skip to content

Commit c4caab8

Browse files
authored
Merge pull request #7665 from Eric89GXL/fix-super
FIX: Fix super call for Python 2.7
2 parents 8b80068 + d31adc5 commit c4caab8

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
@@ -640,7 +640,7 @@ def _init_toolbar(self):
640640
# the actual sizeHint, so override it instead in order to make the
641641
# aesthetic adjustments noted above.
642642
def sizeHint(self):
643-
size = super().sizeHint()
643+
size = super(NavigationToolbar2QT, self).sizeHint()
644644
size.setHeight(max(48, size.height()))
645645
return size
646646

0 commit comments

Comments
 (0)