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 d31adc5

Browse filesBrowse files
committed
FIX: Fix super call for Python 2.7
1 parent 48d50fc commit d31adc5
Copy full SHA for d31adc5

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎lib/matplotlib/backends/backend_qt5.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_qt5.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.