You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @klq, figured out why I couldn’t display pyplot graphs of pandas data outside a notebook..
I was missing the pyplot.show() command – it’s not needed in a notebook but is needed in a standalone Python program.
E.g. this works..
import pandas as pd
import matplotlib.pyplot as plt
df = pd.read_csv('./data/alltime_movies200_clean.csv')
plt.plot(df['domestic total gross'])
plt.show()
Thanks again for an excellent session. You can close this, just an FYI.
The text was updated successfully, but these errors were encountered:
Hi @klq, figured out why I couldn’t display pyplot graphs of pandas data outside a notebook..
I was missing the pyplot.show() command – it’s not needed in a notebook but is needed in a standalone Python program.
E.g. this works..
Thanks again for an excellent session. You can close this, just an FYI.
The text was updated successfully, but these errors were encountered: