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

Different line width for error bar #1336

Closed
dovahcrow opened this issue Oct 27, 2019 · 4 comments
Closed

Different line width for error bar #1336

dovahcrow opened this issue Oct 27, 2019 · 4 comments

Comments

@dovahcrow
Copy link

Currently it seems like errorbar uses the line_width property in the Theme. Is there any way to let Geom.errorbar uses a thiner line width?

@Mattriks
Copy link
Member

See the docs e.g. Theme(line_width=4pt). If that doesn't work, then please post example code of what you have tried, and provide versioninfo().

@dovahcrow
Copy link
Author

@Mattriks

The problem is that Theme.line_width also controls the line with for Geom.line, which is the one I don't want to change.

Using ggplot with geom_linerange
image

Gadfly with Theme.line_width and Geom.errorbar
image

Geom.errorbar and Geom.line both use Theme.line_width makes the plot looks weird.

@Mattriks
Copy link
Member

See the docs section on layers: Layers can input Geometries, Statistics, and Themes"

@dovahcrow
Copy link
Author

@Mattriks Feasible solution! Thanks.

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

No branches or pull requests

2 participants