Mtplotlib-菜鳥教程-圖表例題1

折線圖 import pandas as pd import matplotlib.pyplot as plt iris = pd.read_csv(‘iris.csv’) fig = plt.figure(figsize = (10, 10)) plt.plot(iris[‘sepal_width’],‘r–’,label=‘sepal_width’) plt.legend(loc=‘best’
相關文章
相關標籤/搜索