I can create a plot with PyPlot:
using PyPlot
fig=figure("first")
X = 0:0.1:2pi
Y = sin.(X)
p = plot(X, Y)
But after closing the PyPlot window I cannot get it back.
I tried:
p
display(p)
show(p)
fig
display(fig)
show(fig)
But I doesn’t work.
Any idea?
Using a REPL on Linux with Julia 1.10.