import matplotlib.pyplot as plt
import pandas as pd

presidents_df = pd.read_csv('csv_files/president_heights_party.csv', index_col='name')
presidents_df['height'].plot(kind='hist',
                             title='height',
                             bins=5)
plt.savefig('plots/hist_1.png')
# plt.draw()
# plt.pause(1)
# plt.show()
# plt.clf()

29a8553bc1cdba2580f3f3eabe8e69a9451067ad
<mask token>

<mask token>
presidents_df['height'].plot(kind='hist', title='height', bins=5)
plt.savefig('plots/hist_1.png')

<mask token>
presidents_df = pd.read_csv('csv_files/president_heights_party.csv',
    index_col='name')
presidents_df['height'].plot(kind='hist', title='height', bins=5)
plt.savefig('plots/hist_1.png')

import matplotlib.pyplot as plt
import pandas as pd
presidents_df = pd.read_csv('csv_files/president_heights_party.csv',
    index_col='name')
presidents_df['height'].plot(kind='hist', title='height', bins=5)
plt.savefig('plots/hist_1.png')

import matplotlib.pyplot as plt
import pandas as pd

presidents_df = pd.read_csv('csv_files/president_heights_party.csv', index_col='name')
presidents_df['height'].plot(kind='hist',
                             title='height',
                             bins=5)
plt.savefig('plots/hist_1.png')
# plt.draw()
# plt.pause(1)
# plt.show()
# plt.clf()
