>>858 Python matplotlib の使用例。

年代別折れ線グラフ
import matplotlib.pyplot as plt
year = [1980, 1985, 1990, 2000, 2010, 2018]
weight = [3, 15, 25, 55, 62, 58]
plt.plot(year, weight)
plt.show()

https://s3-ap-northeast-1.amazonaws.com/mash-jp/production/uploads/12601/56b92b4de711ecd78d39ed6118539b5dcca7aa7e.12647.desktop.jpg