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 db9b188

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

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
@@ -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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.