JuliaPy / JuliaPy/PyPlot.jl

wxpython EventLoop -> GUIEventLoop

Aperta
#504 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Julia
Stelle
488
Fork
90
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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`?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Reproduce the failure with the PyPlot and Plots commands shown in the issue on macOS, then trace where PyPlot or PyCall invokes wxPython's EventLoop. Determine whether the fix belongs in PyPlot.jl or PyCall; done means plotting no longer emits the deprecation warning or enters an infinite loop.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
matplotlib, python
Ambito
data-visualization
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.