How to set the range of y-axis for a seaborn boxplot? How to set the range of y-axis for a seaborn boxplot? python python

How to set the range of y-axis for a seaborn boxplot?


It is standard matplotlib.pyplot:

...import matplotlib.pyplot as pltplt.ylim(10, 40)

Or simpler, as mwaskom comments below:

ax.set(ylim=(10, 40))

enter image description here