Skip to content

Commit 6bd7b68

Browse files
committed
don't default to tk on macos (closes #410)
1 parent 6b38c75 commit 6bd7b68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/init.jl

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ function find_backend(matplotlib::PyObject)
4848
conda = PyCall.conda || !isempty(PyCall.anaconda_conda())
4949
if Sys.islinux()
5050
guis = [:tk, :gtk3, :gtk, :qt5, :qt4, :wx]
51+
elseif Sys.isapple()
52+
guis = [:qt5, :qt4, :wx, :gtk, :gtk3, :tk] # issue #410
5153
else
5254
guis = [:tk, :qt5, :qt4, :wx, :gtk, :gtk3]
5355
end

0 commit comments

Comments
 (0)