-
Notifications
You must be signed in to change notification settings - Fork 116
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
Animation error #18
Comments
I have the same problem when running the example file 2D_double_slit.py, but I get no warning. I'm using anaconda3. Plots work ok, but animation shows only the the starting time step. |
If you are using Spyder specifically, from this Stack Overflow answer you should type and enter |
The simulation seems to run ok. However a plot at t=0 is plotted but no animation.
The following warning is displayed:
UserWarning: Animation was deleted without rendering anything. This is most likely not intended. To prevent deletion, assign the Animation to a variable, e.g.
anim
, that exists until you have outputted the Animation usingplt.show()
oranim.save()
.warnings.warn(
I have tried using
plt.show()
oranim.save()
. but no luck.The text was updated successfully, but these errors were encountered: