Remove Outliers from Seaborn Boxplot

Python

To remove outliers from a seaborn boxplot then set the fliersize parameter to 0.

 1|  import seaborn as sns
 2|  
 3|  sns.boxplot(x=df['date'],y=df['stock_price'], fliersize=0)
 4|  
 5|  plt.show()
Did you find this snippet useful?

Sign up for free to to add this to your code library