matplotlib实现多个子图的盒须图
效果展示:
代码:
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from pylab import *
plt.figure(figsize=(7.8,6.8))
plt.rcParams['font.sans-serif'] = ['Arial Unicode MS']
data = {
'W': [1,2,3,4,5,6,7,8,10],
'H': [1,2,3,10,5,6,7,8,1
原创
2021-12-15 16:27:51 ·
2518 阅读 ·
0 评论