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

wplotim is destructive #71

Closed
Dejan-Ilic opened this issue May 31, 2021 · 2 comments · Fixed by #72
Closed

wplotim is destructive #71

Dejan-Ilic opened this issue May 31, 2021 · 2 comments · Fixed by #72

Comments

@Dejan-Ilic
Copy link

wplotim modifies the argument x it receives. I think either the function should be renamed to wplotim!
or on line 83 of Plot.jl xts = x should be changed to xts = copy(x) (which seems the best option to me). Thanks for your time :)

@JeffFessler
Copy link
Contributor

nice catch, thanks.
a workaround while waiting for a new version is wplotim(copy(x))

gummif added a commit that referenced this issue May 31, 2021
@gummif
Copy link
Member

gummif commented May 31, 2021

Good catch, a fix has been merged.

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

Successfully merging a pull request may close this issue.

3 participants