You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -84,7 +82,8 @@ function find_backend(matplotlib::Py)
84
82
ENV["DISPLAY"]
85
83
end
86
84
87
-
if gui ==:default
85
+
global gui
86
+
if gui ===:default
88
87
# try to ensure that GUI both exists and has a matplotlib backend
89
88
for (g,b) in options
90
89
if g ==:none# Matplotlib is configured to be non-interactive
@@ -158,9 +157,6 @@ function __init__()
158
157
# workaround JuliaLang/julia#8925
159
158
global backend = backend_gui[1]
160
159
global gui = backend_gui[2]
161
-
if Sys.isapple() && gui ==:tk
162
-
@warn"PythonPlot is using tkagg backend, which is known to cause crashes on MacOS (#410); use the MPLBACKEND environment variable to request a different backend."
163
-
end
164
160
165
161
PythonCall.pycopy!(plt, pyimport("matplotlib.pyplot")) # raw Python module
0 commit comments