JuliaPy / JuliaPy/PyPlot.jl

announce that backend switches based on display capabilities and/or allow override

Đang mở
#475 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Julia
Star
488
Fork
90
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Even though I've been using PyPlot for a long time, I was caught by surprise today. I'm running it in Juno, but for whatever reason, PyPlot's output was not being displayed in the Juno plot pane. I was trying to manually set the backend, but it gets overriden by the following

https://github.com/JuliaPy/PyPlot.jl/blob/c1943a96b6754134c7ae1e3147d901011aa7326d/src/init.jl#L211-L214

I don't really know a great way to handle this, because the switching behavior is certainly aiming to give a user-friendly it-just-works experience. So perhaps it would just be good to be able to override the override of the backend, regardless of the display capabilities.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.