Skip to content

Commit

Permalink
Add missing Animation constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
agdestein committed Oct 4, 2023
1 parent 10ee593 commit 0d97ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/animation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ struct Animation
frames::Vector{String}
end

Animation() = Animation(convert(String, mktempdir()), String[])
Animation(dir = convert(String, mktempdir())) = Animation(dir, String[])

"""
frame(animation[, plot])
Expand Down

0 comments on commit 0d97ebb

Please sign in to comment.