Number ins figure 2

parent 6adc45e3
#!/usr/bin/python3
import pandas
import matplotlib.pyplot as plt; plt.rcdefaults()
import numpy as np
......@@ -15,4 +15,8 @@ plt.xticks(years)
plt.xlabel('Year')
plt.ylabel('Quantity')
for year, count in zip(years, counts):
plt.text(year - 0.1, count + 1, str(int(count)), color='b')
plt.show()
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment