1. Creating Multiplots on Same Canvas
fig, (ax1, ax2) = plt.subplots(221)
x = np.linspace(0,5,11)
y = x**2
ax1.plot(x, y, 'r--')
ax2.plot(y,x, 'g-', y,x, 'g*')
2. 箱线图boxplot( )
# generate data
data = [np.random.normal(0, std, 100) for std in range(1, 4)]
# plot the data with rectangular box plot
plt.boxplot(data,patch_artist=True)