Skip to content

Commit b3b6248

Browse files
committed
since both qt4 and qt5 backends seem to be broken on windows, default to tkagg instead for #278
1 parent 71632ff commit b3b6248

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/PyPlot.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ function find_backend(matplotlib::PyObject)
124124
default = lowercase(get(ENV, "MPLBACKEND", "none"))
125125
if default == "none"
126126
default = lowercase(get(rcParams, "backend", "none"))
127-
if is_windows() && default == "qt5agg"
128-
default = "qt4agg" # workaround issue #278
127+
if is_windows() && startswith(default, "qt")
128+
default = "tkagg" # workaround issue #278
129129
end
130130
end
131131
if haskey(matplotlib2gui,default)

0 commit comments

Comments
 (0)