code:
df.boxplot()
它按预期返回数据框中所有列的图形。但它也返回文本。例如:
{'boxes': [<matplotlib.lines.Line2D at 0x118efc278>,
<matplotlib.lines.Line2D at 0x118f0c668>,
<matplotlib.lines.Line2D at 0x118f20f98>,
<matplotlib.lines.Line2D at 0x11d58e908>,
<matplotlib.lines.Line2D at 0x11d5a6278>,
<matplotlib.lines.Line2D at 0x11d5b7ba8>,}
有没有方法可以删除文本,并且对于突出显示异常值的绘图进行自定义的建议将非常有帮助。提前感谢。
a = df.boxplot()
。 - Greg