Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Horizontal lines for boxplot. #3829

Open
pitipatw opened this issue May 6, 2024 · 9 comments
Open

Horizontal lines for boxplot. #3829

pitipatw opened this issue May 6, 2024 · 9 comments
Labels
enhancement Feature requests and enhancements

Comments

@pitipatw
Copy link

pitipatw commented May 6, 2024

Feature description

The horizontal lines at IQR of the boxplot.

This might be a tiny thing but I found it affect how people percieve Boxplot and got
confused easily.

For plot types, please add an image of how it should look like

boxplot.png

@pitipatw pitipatw added the enhancement Feature requests and enhancements label May 6, 2024
@jkrumbiegel
Copy link
Collaborator

I don't understand what's the ask here.

@pitipatw
Copy link
Author

pitipatw commented May 7, 2024

Sorry, let me clarify this a bit.
So, currently: GLMakie v0.9.10, CairoMakie v0.11.10, and Makie v0.20.9,
If we use boxplot right now, the plot looks like this.
image

But normally, boxplot looks like this.

image

notice the horizontal line. I dont think that's currently an option to have in Makie.

@pitipatw
Copy link
Author

pitipatw commented May 7, 2024

I found that raincloud has the line, but not the boxplot, maybe we can use the same thing for raincloud with boxplot?

@SimonDanisch
Copy link
Member

It's not well documented, but there's:

categories = rand(1:3, 1000)
values = randn(1000)
boxplot(categories, values; whiskerwidth=0.5)

image

@pitipatw
Copy link
Author

pitipatw commented May 7, 2024

I see, thank you for pointing this out.
So, should there be an update on the boxplot function? I can try to do this.

@asinghvi17
Copy link
Member

You could update the docstring to mention that whiskers can be added by setting the whiskerwidth parameter...

@jkrumbiegel
Copy link
Collaborator

after 0.21 all plotting function keywords should get separate examples in the docs anyway, this is one of them

@pitipatw
Copy link
Author

pitipatw commented May 7, 2024

You mean each "plotting function keyword" gets its own page or for each "plotting function"?

@pitipatw
Copy link
Author

If this part is not currently implemented, I'm willing to collaborate. Can you guide me how to do so?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests and enhancements
Projects
None yet
Development

No branches or pull requests

4 participants