JuliaPy / JuliaPy/PyPlot.jl

wxpython EventLoop -> GUIEventLoop

未关闭
#504 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Julia
星标
488
派生
90
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。