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 9891b67

Browse filesBrowse files
committed
Merge pull request #3322 from MrLeeh/patch-1
Fixed error with QSizePolicy
1 parent 6ed9211 commit 9891b67
Copy full SHA for 9891b67

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-2
lines changed

‎lib/matplotlib/backends/backend_qt5.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_qt5.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,8 +610,8 @@ def _init_toolbar(self):
610610
self.locLabel.setAlignment(
611611
QtCore.Qt.AlignRight | QtCore.Qt.AlignTop)
612612
self.locLabel.setSizePolicy(
613-
QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
614-
QtGui.QSizePolicy.Ignored))
613+
QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
614+
QtWidgets.QSizePolicy.Ignored))
615615
labelAction = self.addWidget(self.locLabel)
616616
labelAction.setVisible(True)
617617

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.