Drawing
Plt.axis ([0,5,0,20]): Coordinate range
Plt.title (' PLOT ', fontsize=20): Picture title
Plt.xlable (' Row '): Row header
Plt.ylable (' COL '): column header
Plt.text (' text '): Write text in the specified coordinates
Plt.grid (True): Draw Mesh
Plt.plot (x, y): Line chart
Plt.plot (x, Y, '-'): Line chart
Plt.plot (x, y, ' o '): Scatter plot
Plt.hist (x,bins=20): Histogram
Plt.bar (x, y): Bar chart
Plt.bar (x,y1,0.3,color= ' B ');p Lt.bar (x+0.3,y2,0.3,color= ' G '): Multi-sequence bar graph
Dat.plot (kind= ' bar): Dataframe multi-sequence bar graph
Plt.bar (x,y1,color= ' B ');p Lt.bar (x,y2,color= ' G ', botton=y1): Stacked Map
Dat.plot (kind= ' bar ', stacked=true): Dataframe Stacked Chart
Plt.pie (x,y,[' R ', ' G ', ' B '],autopct= '%1.1f%% '): Pie chart
Dat[.plot (kind= ' Pie ', figsize= (6,6)): Dataframe pie chart
"Python data analytics Combat" 7 Matplotlib