[英]Change y-axis range in Pandas.boxplot()
I use the following boxplot<\/code> function from Pandas<\/a> ,
我使用Pandas<\/a>的以下
boxplot<\/code>函数,
df.boxplot(column=['D1', 'D2'])
You can do so editing the axis-object - you can either do您可以这样做编辑轴对象 - 您可以这样做
ax = df.boxplot(column=['D1', 'D2'])
ax.set_ylim(0, 10)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.