question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Option to hide outliers in a boxplot

See original GitHub issue

Is there a way to not show outliers in boxplot in order to not to mess up a scale? If not I think It would be nice to add. I tried fliersize=0 but that didn’t work. (The scale was still the same).

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

23reactions
cocoaaacommented, Apr 9, 2018

Adding to @mwaskom’s suggestion, I found showfliers=False to be helpful.

3reactions
ixjlyonscommented, May 20, 2019

@mapio Well, it doesn’t really make sense to try to document all of the arguments the underlying matplotlib function accepts. It would be a duplication of effort and it would inevitably become out of sync as matplotlib changes things (eventually leading to a huge mess when seaborn docs only apply to some versions of matplotlib, etc.). seaborn doesn’t do anything specific with showfliers (aside from passing it along to boxplot), so it’s not documented. The docs do say:

Other keyword arguments are passed through to plt.boxplot at draw time.

This pattern is used throughout seaborn (and wrapper libraries in general), and it’s assumed you can go to the matplotlib docs to find additional options and what they do.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Matplotlib boxplot without outliers - python - Stack Overflow
I would like to remove the outlier at y=10, so that the plot only shows from Q1 to Q3 (in this case from...
Read more >
boxplot insists on removing outliers, is there an option to ...
Ordinarily the boxplot doesn't remove outliers, but instead shows them as separate markers on the plot. Is that what you want to prevent?...
Read more >
Ignore Outliers in ggplot2 Boxplot in R - GeeksforGeeks
We can remove outliers in R by setting the outlier.shape argument to NA. In addition, the coord_cartesian() function will be used to reject ......
Read more >
How to remove outliers from Seaborn boxplot charts
Boxplot without outliers​​ To remove the outliers from the chart, I have to specify the “showfliers” parameter and set it to false.
Read more >
Including or excluding outliers | R Graphs Cookbook (Second ...
We used the outline argument in the boxplot() function call to suppress the drawing of outliers. By default, outline is set to TRUE...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found