-
Notifications
You must be signed in to change notification settings - Fork 30
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
An animation render question #63
Comments
It looks like some time has passed since this question, but I have an answer for you. You need to call plt.show() after the lines you're calling above. I think the reason plt.show() is not included in the README example is because the default assumption is that this would be run from a notebook instead of in a script directly invoked from the command line, and in the setting of a notebook, plt.show() is not required. |
Hi @pointm sorry I wasn't able to reply for a very long time--life happened. Yes, @balisujohn's answer is the key. Thanks for replying! |
Thank You Very Much_(:з」∠)_ |
Hi So there is still no way to run this outside of notebook? |
Dear developer
I have coloned your Python library to "D:/seagull" in my PC , and installed the components mentioned in the README.md file . Then I opened "D:/seagull" with VSCode and add an Python file named "new_life.py" in "D:/seagull" . After that , I added the code you have showed in READMD.md like:
For showing the result , I also added the 'sim.animate' at the end of the file . But after that , when I run "D:/seagull/new_life.py" with VSCode , the terminal showed:
And after that no window popped out , I couldn't see the same result you showed in README.md . Did I misunderstand the function of your library or anything I do wrong during my action ? Thank you so much !
The text was updated successfully, but these errors were encountered: