導(dǎo)入包matplotlib.pyplot as plt
折線圖:plt.plot()
散點(diǎn)圖:plt.scatter()
直方圖:plt.hist()
數(shù)軸標(biāo)簽:plt.xlable(’name’);plt.ylable(’name’)
數(shù)據(jù)標(biāo)簽:plt.xticks([,,,],[‘’,’’,’',])
標(biāo)題:plt.title
查看幫助:help(函數(shù))
翻轉(zhuǎn)橫縱坐標(biāo):dataFrame = dataFrame1.sort(["橫坐標(biāo)"],ascending=False)