Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MethodError in animation.jl #103

Closed
rcnlee opened this issue Jan 2, 2016 · 0 comments
Closed

MethodError in animation.jl #103

rcnlee opened this issue Jan 2, 2016 · 0 comments

Comments

@rcnlee
Copy link

rcnlee commented Jan 2, 2016

This constructor:

function Animation(plt::PlottingObject)
  Animation(plt, mktempdir(), ASCIIString[])
end

seems to be throwing an error because mktempdir() returns a UTF8String while Animation is expecting an ASCIIString. Converting it fixes it:

function Animation(plt::PlottingObject)
  tmpdir = convert(ASCIIString, mktempdir())
  Animation(plt, tmpdir, ASCIIString[])
end
@tbreloff tbreloff closed this as completed Jan 3, 2016
Jonas-a-Zimmermann pushed a commit to Jonas-a-Zimmermann/Plots.jl that referenced this issue Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants