DEV Community

Discussion on: Sentiment analysis on Trump's tweets using Python 🐍

Collapse
 
rodolfoferro profile image
Rodolfo Ferro

Sure! It's quite easy actually. :)

Instead of adding plt.ion() at the beginning, you can add the following code each time you're generating a plot, in order to visualize it: plt.show(). This will open an external window and display the immediately last plot generated.

You can see this in the Official Pyplot tutorial I shared at the end (References).

Please let me know I you have any other problem. :)

Collapse
 
theajsingleton profile image
Alex Singleton

Got it, Rodolfo! Thank you for the guidance- tremendous fun! ;)