JuliaPy / PyPlot.jl

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

plotting inside @manipulate no longer works #416

Closed AshtonSBradley closed 5 years ago

AshtonSBradley commented 5 years ago

I don't know if this is an issue with Interact.jl or PyPlot, but:

x=LinRange(0,4π,100)
f1 = figure(figsize=(6,3))
@manipulate for j=1:10
    withfig(f1,clear=true) do
        plot(x,sin.(j*x))
    end
end

no longer updates when the slider is moved. The figure remains stuck at the initial value of the slider

screen shot 2018-12-22 at 8 58 08 am