Open pointm opened 3 years ago
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? How to show the beard with animation just on the simple window?
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 !