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
while this same functionality could be implemented in manually, it seems to me to be more appropriate and intuitive that a function like scale_fill_gradient2_tableau would extend scale_fill_gradient2 which extends continuous_scale
The text was updated successfully, but these errors were encountered:
Instead of calling
continuous_scale
,scale_*_gradient_{theme}
should call the appropriateggplot2::scale_*_gradient
function.for example,
ggplot::scale_fill_gradient2()
includes the midpoint argument (and default), which it passes tocontinuous_scale()
'srescaler
..this is very similar to - and possibly redundant with - what I see in
scale_fill_gradient2_tableau()
while this same functionality could be implemented in manually, it seems to me to be more appropriate and intuitive that a function like
scale_fill_gradient2_tableau
would extendscale_fill_gradient2
which extendscontinuous_scale
The text was updated successfully, but these errors were encountered: