JuliaPy / JuliaPy/PyPlot.jl

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

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

Description

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.

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.