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.

Boxenplot fliersize ?

See original GitHub issue

Hi, is it possible to change fliersize in boxenplot, as in boxplot?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
agamemnonccommented, Jul 5, 2022

@EitanHemed pls go ahead, I haven’t managed to find time to work on this unfortunately.

1reaction
mwaskomcommented, Dec 1, 2021

Right, those are both workarounds for users who can only interact with the matplotlib figure object that seaborn creates. Inside the function, you can pass the dictionary of flier_kws to the scatter call that draws the outliers.

Actually looking at the code a little bit, the situation with kws is messier than I thought, because kws is passed to both plot (to draw the medians) and scatter to draw the outliers, with no ability to tweak the appearance of the boxes externally.

So ideally, there would be three new parameters:

  • box_kws
  • line_kws
  • flier_kws

And they would each be dispatched to the right place.

Two other pieces of guidance for how to make this change:

  • You should add the plotting parameters that are currently passed to each function (like the flier shape) to the kws dictionary using .setdefault so that users can override the defaults if desired.
  • You don’t want to mutate the user’s dictionary when you do that, so you need to copy the kwargs dicts first.
Read more comments on GitHub >

github_iconTop Results From Across the Web

seaborn.boxenplot — seaborn 0.12.1 documentation - PyData |
seaborn.boxenplot# ... Draw an enhanced box plot for larger datasets. ... This function always treats one of the variables as categorical and draws...
Read more >
Setting flier (outlier) style in Seaborn boxplot is ignored
Seaborn's boxplot code ignores your flierprops argument and overwrites it with its own before passing arguments to Matplotlib's.
Read more >
Python - seaborn.boxenplot() method - GeeksforGeeks
It is similar to a box plot in plotting a nonparametric representation of a distribution in which all features correspond to actual observations ......
Read more >
Seaborn Tutorial | Kaggle
Change the size of outlier markers using fliersize plt.figure(figsize = (14,6)) ... Drawing a vertical boxenplot grouped by a categorical variable ...
Read more >
Python Seaborn Categorical distribution plots: Box Plot
... width=0.8, dodge=True, fliersize=5, linewidth=None, whis=1.5, ax=None, ... Python Seaborn Categorical distribution plots: Boxen Plot.
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