系列文章目录 文章目录 系列文章目录 一、条形图(bar) 一、条形图(bar) 以下是一个使用matplotlib绘制条形图的示例代码: import matplotlib.pyplot as plt # 数据 x = ['A', 'B', 'C', 'D', 'E'] y = [