Make plots in sepeare windows

I want to plot different arrays and show the plot in separate windows when I run the julia script from the REPL using the include("<name>.jl")

I searched it on the internet and I got to know about reuse = false, but when I run this:

p1 = plot([1,2,3,4,5],[1,2,3,4,5]) #Linear
display(p1)
p2 = plot([1,2,3,4,5],[1,4,9,16,25],resue = false) #Quadratic
display(p2)

I get only one plot of the quadratic.
I want to see the linear in a different window and the quadratic window in a separate window.

I am using julia 1.5.0 and Plots v1.5.9.

Thank you.


looks like it has been broken for quite a while

I see.
Is there any way around this using any other plotting package or any other way to acheive this using Plots package only?

using PyPlot

figure(1)
plot(rand(10))

figure(2)
plot(rand(10))

I still get only one figure.

using PyPlot

figure(1)
plot(rand(10))

figure(2)
plot(rand(20))

If I run this code I only get one plot for plot(rand(20))

Both, on Ubuntu and MacOS I get two figures…

Yeah I got the two plots now. Thanks a ton!

Can I use the commands like hline! and vline! in PyPlot?