I’d recommend you using explicit file naming rather than relying on the automatic time stamps. Perhaps:
let
M = rand(1:10, 3, 3)
counter = 1
for i ∈ 1:length(M)
@png begin
text(string(i))
end 400 400 "$(counter).png"
counter += 1
end
end
is more the kind of thing.
It looks like the macro is expanding the timestamp once and then you’re just repeating that timestamp for every iteration… I’ll be sure to reprimand the person responsible ![]()