Closed charlotte-lemouel closed 5 years ago
Oh, figured it out. I was running it with python directly (not in ipython). With the show(block = False)
, python will open and immediately close it.
I've removed plt.show()
from your code and put it into the script which calls your code (see 74946653ce99568c34b76066c8fff3093c7be473). This way, your visualization prepares plots, and whatever other plots as well, and plt.show()
can be called by the user at the end.
I've also made some minor style changes
I'm getting an error when running this: