'how to make the box in my boxplot bigger?(matplotlib)

enter image description here

I use the matplotlib boxplot and plotted this graph. My question is how can I make the box larger or make the y-axis interval wider?



Solution 1:[1]

To resize the plot or to enlarge the resulting image, you could tweak the figsize parameter in matplotlib.pyplot.figure.

To reduce the size of the markers to improve the visibility of the dots/circles, you could do that using the linewidth parameter.

You could share a snippet of your code for more accurate answers.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Aravind G.