We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1290142 + 2b14cc9 commit e5f5822Copy full SHA for e5f5822
1 file changed
src/PyPlot.jl
@@ -134,7 +134,11 @@ function find_backend(matplotlib::PyObject)
134
if defaultgui == :qt_pyside
135
pyimport_conda("PySide", "pyside")
136
else
137
- pyimport_conda("PyQt4", "pyqt")
+ try
138
+ pyimport_conda("PyQt5", "pyqt")
139
+ catch
140
+ pyimport("PyQt4")
141
+ end
142
end
143
elseif defaultgui == :wx
144
pyimport_conda("wx", "wxpython")
0 commit comments