Matthew Kay
Matthew Kay
Hmmm this is because of how {ggdist} handles override aesthetics (like `slab_color` for `color`) internally. The `alpha` and `linetype` aesthetics are not being set for the key unless they are...
Yeah I can't think of another way to manipulate the alpha of the fill separately from the outline in this case.
The code for auto-generating docs for shortcut geoms could be re-purposed to do this, since it can already automatically figure out the differences between shortcut geoms/stats and their base geoms/stats.
This is a really good question to which I would love to be able to answer "yes" 🙂. I like the idea of combining densities with dotplots and dearly wish...
Name is one question... seems odd to have a geom_hlineribbon and geom_vlineribbon in this modern orientation-aware ggplot landscape. Maybe geom_hvlineribbon? Feels awkward.
looking at some related words and synonyms there's stuff like: axis-aligned, parallel, flat, flush, rule, ... no great names, and vlineribbon / hlineribbon are probably the most discoverable. So maybe...
also a vribbon and hribbon variant probably
Also consider: should this have a gradient variant that allows mapping pdf/cdf? Would actually work easily here unlike with lineribbon.
Might also be an opportunity to change the default mapping in pointinterval to use `level` instead of `.width` so that legends are more sensible by default. Have to double check...
- [x] add new scales - [x] `slab_linewidth` - ~~[ ] deprecate old scales~~ -> #164 - ~~[ ] `slab_size` -> `slab_linewidth`~~ - ~~[ ] `interval_size` -> `linewidth`~~