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

Skip to content

Commit 522c31c

Browse files
committed
Merge pull request #5187 from tacaswell/fix_qt_compat
FIX: remove incorrect error checking
2 parents eebb481 + 10ef9a7 commit 522c31c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/matplotlib/backends/qt_compat.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,6 @@ def _getSaveFileName(*args, **kwargs):
140140
def _getSaveFileName(*args, **kwargs):
141141
return QtGui.QFileDialog.getSaveFileName(*args, **kwargs), None
142142

143-
else:
144-
raise RuntimeError("PyQt{4,5} bindings found despite sip importing\n"
145-
"Please install PyQt4 or PyQt5, uninstall sip or "
146-
"explicitly set the pyside backend.")
147-
148143
# Alias PyQt-specific functions for PySide compatibility.
149144
QtCore.Signal = QtCore.pyqtSignal
150145
try:

0 commit comments

Comments
 (0)