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))
It is standard matplotlib.pyplot:
...import matplotlib.pyplot as pltplt.ylim(10, 40)
Or simpler, as mwaskom comments below:
ax.set(ylim=(10, 40))