【发布时间】:2011-07-01 10:14:26
【问题描述】:
我正在尝试创建一组数据分箱 y 与 x 的箱须图。我在making binned boxplot in matplotlib with numpy and scipy in Python 中找到了一个有用的示例。现在的问题很简单。如何在 matplotlib.pyplot.boxplot 中指定框的颜色,因为我想将其设置为透明,以便让读者也能看到原始数据。我知道存在http://matplotlib.sourceforge.net/examples/pylab_examples/boxplot_demo2.html 中显示的示例,但有什么比这更简单的吗?无法直接在 boxplot 中设置框的颜色看起来很奇怪 提前谢谢你
【问题讨论】:
标签: numpy matplotlib