Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default :tk pygui makes julia registry segfault #42

Closed
mloubout opened this issue Oct 28, 2024 · 1 comment
Closed

Default :tk pygui makes julia registry segfault #42

mloubout opened this issue Oct 28, 2024 · 1 comment

Comments

@mloubout
Copy link

I've spent a few days trying to figure out what's wrong without success, but it looks like the default PythonPlot backend (:tk) is making import segfault at least in julia automerge CI:

https://github.com/JuliaRegistries/General/actions/runs/11556341068/job/32163801717?pr=117989#step:17:863

I wanted to change the default backend but from the look of it here it would need PyCall which defeat the purpose of using PythonPlot in the first place.

If the backend could be handled via preferences or environment variable so that it can be set before PythonCall is imported it would be quite helpful.

@stevengj
Copy link
Member

Sorry, the instructions were mis-copied over from PyPlot.jl … you don't use PyCall for this. Just set the MPLBACKEND environment variable.

Fixed in 93dfb2e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants