-
Notifications
You must be signed in to change notification settings - Fork 53
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
Allow absolute width for geom_errorbar
(and possibly others)
#1288
Comments
We maybe can have an additional parameters
Would it do? |
I think that would be helpful. My main use case are plots with a varying of discrete data points on the x axis, which look weird with uber-long whiskers. If I remember correclty, Makie.jl does something similar, where you can specify the reference frames for x and y values independently, which comes in very handy sometimes. |
Ok, and you've mentioned "and possibly others" in the title. Are you referring to boxplot? |
Interesting, there is Same in |
Here's what Makie.jl is doing: https://docs.makie.org/v0.22/explanations/conversion_pipeline#Coordinate-spaces |
Currently, the
width
argument forgeom_errorbar
only sets the relative size of the whiskers. It would be really helpful to have an option to specify the whisker size in absolute units. This would make it easier to maintain consistent whisker dimensions across plots, regardless of the scale or data range.The text was updated successfully, but these errors were encountered: