2021-08-25
Fg.1 python matplotlib 条形图
条形图代码 ,根据自己需求进行相关参数修改
import matplotlib.pyplot as plt
import numpy as np
labels = ['G1', 'G2', 'G3', 'G4', 'G5']
men_means = [35, 34, 30, 35, 27]
women_means = [25, 32, 34, 20, 25]
x = np.arange(len(labels)) # the label loca
原创
2021-08-25 15:24:46 ·
96 阅读 ·
0 评论