How do I make @progress and @animate play nice together?

#1

I am creating some gifs using the @animate macro in Plots.jl that are time consuming to make. I would like to display the progress with Juno.@progress. Unfortunately, stacking the two doesn’t work directly, e.g.

using Juno, Plots
@progress @animate for ii = 1:3
    scatter([ii,],[ii,])
end
ERROR: LoadError: @progress requires a for loop (for i in irange, j in jrange, ...; <body> end) or array comprehension with assignment (x = [<body> for i in irange, j in jrange, ...])

and

@animate @progress for ii = 1:3
    scatter([ii,],[ii,])
end
ERROR: LoadError: @animate macro expects a for-block. got: macrocall

Any suggestions of how to proceed? Thanks.

0 Likes