Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Should geom_boxplot with disabled outliers rescale the axis? #814

Closed
floringogianu opened this issue Jun 29, 2024 · 1 comment
Closed

Should geom_boxplot with disabled outliers rescale the axis? #814

floringogianu opened this issue Jun 29, 2024 · 1 comment

Comments

@floringogianu
Copy link

floringogianu commented Jun 29, 2024

Disabling the outliers in a geom_boxplots() hides the markers but keeps the original scale (as if the outliers were present). Should the axis be rescaled (eg. how seaborn behaves)?

If not, is there a clean way to achieve this?

later edit: I know it can be done manualy, just wondering if there's an automated way of recomputing the limits:

(
    p9.ggplot(df)
    + p9.geom_boxplot(p9.aes(x="factor(map)", y="fft_max", color="objective"), outlier_shape='')
    + p9.coord_flip()
    + p9.ylim(0.3, 0.5)
)

image
image

@floringogianu floringogianu changed the title Should geom_boxplot() with disabled outliers rescale the axis? Should geom_boxplot with disabled outliers rescale the axis? Jul 14, 2024
@has2k1 has2k1 closed this as completed in 29c77f3 Aug 1, 2024
@floringogianu
Copy link
Author

Thank you!

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants