PlotnineError: "'position_jitterdodge' requires at least one aesthetic to dodge by."
See original GitHub issue(
ggplot(df, aes(x='x_val', y='y_val', color='device'))
+ geom_boxplot()
+ geom_jitter(position=position_jitterdodge())
)
The code works fine when using geom_dodge:
(
ggplot(df, aes(x='x_val, y='y_val, color='device'))
+ geom_boxplot()
+ geom_jitter(position=position_dodge(0.75))
)
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
r/ggplot - Use position_jitterdodge without a fill aesthetic
Ok, here's my workaround. Specify fill along with the aesthetic you really want ( color in my case), then blank out fill with ......
Read more >Simultaneously dodge and jitter — position_jitterdodge • ggplot2
This is primarily used for aligning points generated through geom_point() with dodged boxplots (e.g., a geom_boxplot() with a fill aesthetic supplied).
Read more >position_jitterdodge: Simultaneously dodge and jitter in ggplot2
This is primarily used for aligning points generated through geom_point() with dodged boxplots (e.g., a geom_boxplot() with a fill aesthetic ...
Read more >Source code for plotnine.positions.position_jitterdodge
[docs]class position_jitterdodge(position): """ Dodge and jitter to ... PlotnineError( "'position_jitterdodge' requires at least one " "aesthetic to dodge ...
Read more >R ggplot2 Error: geom_point requires the following missing ...
How to avoid the ggplot2 "Error: geom_point requires the following missing aesthetics: y" in R - 2 R programming examples - Syntax in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It will be in the next release. I am hoping for next week.
@has2k1 Using fill corrected this for me. When you say the bug is fixed, is it fixed in a
pip install update
?Glad you got it working! Thanks!