Boxplots Equally Spread Out
I would like to spread my boxplots equally over the x-axis. The following code generates a figure where the two boxplots are close with plenty of space on either side. In generate
Solution 1:
The boxplot is not autoscaled after its creation. You may do that manually. Also adding some custom margin afterwards is possible.
plt.gca().autoscale()
plt.gca().margins(x=0.2)
Post a Comment for "Boxplots Equally Spread Out"