gio*_*ans 3 python matplotlib boxplot
默认情况下,matplotlib 箱线图的中线是红色的。我怎样才能让它不可见,或者我怎样才能摆脱它?
此示例使用自定义设置medianprops:http : //matplotlib.org/examples/statistics/boxplot_demo.html。尝试使用linewidth=0或linestyle=None。
此处描述了如何设置线型:http : //matplotlib.org/api/lines_api.html#matplotlib.lines.Line2D.set_linestyle
此线程处理类似的主题:pandas - boxplot 中值颜色设置问题