Skip to content

Commit ac4cf23

Browse files
Legend labeller (#488)
* first attempt * fix NA issue for continuous legends * rather take care of NAs at the top-level * document() * better example * catch for datetime formatting * use ephemeral theme * tweak example * news * add test
1 parent cd73882 commit ac4cf23

File tree

8 files changed

+689
-350
lines changed

8 files changed

+689
-350
lines changed

NEWS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ where the formatting is also better._
2525
- The new `tinyplot(..., theme = <theme>)` argument enables users to invoke
2626
ephemeral themes as an alternative to the persistent themes that follow
2727
`tinytheme(<theme>)`. (#484 @grantmcdermott)
28+
- Similarly to how the `x/yaxl` arguments allow for axes label adjustment, users
29+
can now adjust the legend labels too with
30+
`tinyplot(..., legend = list(labeller = <labeller>))`. The `labeller` argument
31+
is passed to `tinylabel`; see the latter's help documentation for examples.
32+
(#488 @grantmcdermott)
2833

2934
### Bug fixes
3035

0 commit comments

Comments
 (0)