We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26aeac1 commit eea751aCopy full SHA for eea751a
1 file changed
src/init.jl
@@ -74,13 +74,8 @@ function find_backend(matplotlib::PyObject)
74
qt2gui = Dict("pyqt5"=>:qt_pyqt5, "pyqt4"=>:qt_pyqt4, "pyside"=>:qt_pyside)
75
76
rcParams = PyDict(matplotlib["rcParams"])
77
- default = lowercase(get(ENV, "MPLBACKEND", "none"))
78
- if default == "none"
79
- default = lowercase(get(rcParams, "backend", "none"))
80
- if is_windows() && startswith(default, "qt")
81
- default = "tkagg" # workaround issue #278
82
- end
83
+ default = lowercase(get(ENV, "MPLBACKEND",
+ get(rcParams, "backend", "none")))
84
if haskey(matplotlib2gui,default)
85
defaultgui = matplotlib2gui[default]
86
0 commit comments