You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current behaviour for gradient legends is a bit annoying because it can lead to inconsistent use of decimals in the swatch labels. For example, the 4, 3.5, etc. here:
The current behaviour for gradient legends is a bit annoying because it can lead to inconsistent use of decimals in the swatch labels. For example, the
4
,3.5
, etc. here:A simple solution is to tweak
tinyplot/R/draw_legend.R
Line 532 in 4a272ce
by wrapping with
format
:Which leads to the nicer:
An easy fix, but will break a lot of tests, so maybe hold off until some of the bigger PRs are merged.
The text was updated successfully, but these errors were encountered: