Plots causes Julia exit

I am using PyPlot and as soon as I define a figure Julia closes instantly. I am new to Julia and PyPlot in general.

Windows 11, Julia 1.10.1

These open issues look similar Pyplot crash on window · Issue #575 · JuliaPy/PyPlot.jl · GitHub, and PyPlot crashes Julia 1.4.1 · Issue #488 · JuliaPy/PyPlot.jl · GitHub

If PyPlot isn’t working for you, you can try some other plotting packages.

  • Makie.jl is cutting edge and performant, and pure julia
  • Plots.jl is more mature
1 Like

Thanks, Makie.jl worked.

1 Like

There is also PythonPlot.jl

1 Like