PyPlot.jl icon indicating copy to clipboard operation
PyPlot.jl copied to clipboard

wxpython EventLoop -> GUIEventLoop

Open s-valent opened this issue 5 years ago • 0 comments
trafficstars

PyPlot doesn't work with wxpython on macOS. (I tried on julia 1.5.2 & latest julia from github).

output:

julia> using PyPlot

julia> plot([1, 2])
ERROR: sys:1: wxPyDeprecationWarning: Using deprecated class EventLoop. Use GUIEventLoop instead.

# here goes infinite loop

the same using Plots with pyplot():

julia> using Plots

julia> pyplot()
Plots.PyPlotBackend()

julia> plot([1, 2])
ERROR: sys:1: wxPyDeprecationWarning: Using deprecated class EventLoop. Use GUIEventLoop instead.

I assume the problem is rather with PyCall as EventLoop is called from there. Since I'm not very familiar with wxpython and just changing EventLoop to GUIEventLoop does not work, I had to open this issue here. Should I open it in PyCall?

s-valent avatar Nov 09 '20 11:11 s-valent