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 ebb3741

Browse filesBrowse files
committed
ENH: improve PySide2 loading
Fixed number of arguments and pep 8 issue
1 parent 7f9c605 commit ebb3741
Copy full SHA for ebb3741

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

‎lib/matplotlib/backends/qt_compat.py‎

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/qt_compat.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@
6969
except KeyError:
7070
raise RuntimeError(
7171
('Unrecognized environment variable %r, valid values are:'
72-
' %r, %r or %r' % (QT_API_ENV, 'pyqt', 'pyside', 'pyqt5', 'pyside2')))
72+
' %r, %r, %r or %r'
73+
% (QT_API_ENV, 'pyqt', 'pyside', 'pyqt5', 'pyside2')))
7374
if QT_ENV_MAJOR_VERSION == QT_RC_MAJOR_VERSION:
7475
# Only if backend and env qt major version are
7576
# compatible use the env variable.

0 commit comments

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