JuliaPy / PyPlot.jl

Plotting for Julia based on matplotlib.pyplot
https://github.com/JuliaPy/PyPlot.jl
MIT License
478 stars 88 forks source link

Matplotlib backend issues cause mysterious segfaults #463

Open nlw0 opened 4 years ago

nlw0 commented 4 years ago

I've struggled recently with PyPlot segfaults on a new system, and finally solved it after finding https://github.com/JuliaPlots/Plots.jl/issues/2168 and #104. In the end I had to switch the matplotlib backend from Qt5Agg to Qt5Cairo. I cannot think of a second package to create a conflict, though. If there's anything that can be done to prevent this mysterious error, suggesting the user to try different backends instead of letting a crash happen, I'm sure it can spare other users some grief. Maybe just comment somewhere on the documentation that conflict with the matplotlib backends might cause ploblems like that?