8000 Merge pull request #5187 from tacaswell/fix_qt_compat · matplotlib/matplotlib@522c31c · GitHub
[go: up one dir, main page]

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 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)
0