setting ylim on seaborn boxplot

Viewed 16552

Is it possible to set ylim parameters on a seaborn boxplot?

as an example:

y = np.random.randn(300)
sns.boxplot (y=y)

Displays

boxplot

but if I try

ax.set_ylim=(-5, 5)

It makes no difference. Is it possible to set ylim values for a boxplot different from the default ones for a given dataset plot?

1 Answers
Related