Option to hide outliers in a boxplot
See original GitHub issueIs 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:
- Created 6 years ago
- Comments:8 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Adding to @mwaskom’s suggestion, I found
showfliers=False
to be helpful.@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 toboxplot
), so it’s not documented. The docs do say: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.