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

Skip to content

Commit 3915a18

Browse files
committed
Added 'PyQt4v2' to valid values for backend.qt4
Matching to what is allowed by the code in qt4_compat.py Closes #2977
1 parent f896381 commit 3915a18

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/matplotlib/rcsetup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ def validate_backend(s):
148148
else:
149149
return _validate_standard_backends(s)
150150

151-
validate_qt4 = ValidateInStrings('backend.qt4', ['PyQt4', 'PySide'])
151+
152+
validate_qt4 = ValidateInStrings('backend.qt4', ['PyQt4', 'PySide', 'PyQt4v2'])
152153
validate_qt5 = ValidateInStrings('backend.qt5', ['PyQt5'])
153154

154155

0 commit comments

Comments
 (0)