Skip to content

v0.4

Latest
Compare
Choose a tag to compare
@jlmelville jlmelville released this 27 Aug 03:54
· 13 commits to master since this release
  • Fixed bug where using recent versions of paletteer for choosing the color scheme was broken.
  • The turbo colormap (based on a github gist) has been added as the turbo function.
  • New argument rev to reverse the ordering of the colors in the palette. This is useful when comparing turbo with other rainbow palettes because turbo goes from blue to red.
  • For the new color palettes in R 4.0, you can pass them by name, e.g. color_scheme = "Okabe-Ito".
  • colorRampPalette is only used if you need to interpolate the palette (i.e. if you ask for more colors than exist in the palette). Colors will now be returned in the order they appear in the palette.