JuliaPy / JuliaPy/PyPlot.jl

wxpython EventLoop -> GUIEventLoop

Open
#504 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
488
Forks
90
PR merge metrics
No merged PRs in 30d

Description

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

output:
```julia-repl
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-repl
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`?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.