Skip to content

Releases: nanxstats/ggsci

ggsci 5.0.0

17 Apr 05:38
8c04958

Choose a tag to compare

New features

  • Add Gephi generative discrete color scales for an arbitrary number of categories via gephi_palettes(), pal_gephi(), scale_color_gephi(), and scale_fill_gephi() (#82).

    This adds 17 presets adapted from Gephi's palette engine to generate visually distinct category colors on demand. Since the generator respects R's current random number state, call set.seed() before plot evaluation for reproducible results.

ggsci 4.3.0

09 Apr 05:11
1679432

Choose a tag to compare

Improvements

  • Synchronize the iTerm color palettes with upstream (#79).

    This update adds 36 new palettes to iterm_palettes(): Aizen variations, Cursor Light, Dalton Dark, Dogxi Misty, Kanagawa Lotus, Kanso variations, Modus variations, Monospace variations, Onenord variations, Pierre variations, SeedFlip variations, and Sunset Drive. These palettes are now usable by pal_iterm(), scale_color_iterm(), and scale_fill_iterm().

    Additionally, the color values for Cursor Dark have been updated to match the latest upstream color specifications, and the Builtin Solarized Dark and Light palettes have been removed.

ggsci 4.2.0

17 Dec 12:47
2b96651

Choose a tag to compare

Improvements

  • Synchronize the iTerm color palettes with upstream (#75).

    This update adds 8 new palettes to iterm_palettes(): branch, No Clown Fiesta variations, novmbr, One Dark Two, owl, traffic, and urban. These palettes are now usable by pal_iterm(), scale_color_iterm(), and scale_fill_iterm().

ggsci 4.1.0

25 Oct 05:43
3497b6b

Choose a tag to compare

Improvements

  • Synchronize the iTerm color palettes with upstream (#72).

    This update adds 8 new palettes to iterm_palettes(): Hot Dog Stand variations, Matte Black, Poimandres variations, and Selenized Black. These palettes are now usable by pal_iterm(), scale_color_iterm(), and scale_fill_iterm().

    Additionally, the color values for 40+ existing iTerm palettes have been updated to match the latest upstream color specifications.

Documentation

ggsci 4.0.0

23 Sep 06:13
9820337

Choose a tag to compare

New features

  • Add the Primer design system (from GitHub) palette in scale_color_primer() and scale_fill_primer() (#62, #63).
  • Add the Atlassian Design System palette in scale_color_atlassian() and scale_fill_atlassian() (#64).
  • Add 400+ iTerm palettes in scale_color_iterm() and scale_fill_iterm() (#67).

Improvements

  • Add example_scatterplot() and example_barplot() to simplify discrete scale examples in documentation. This reduces boilerplate code and makes it easier to maintain the examples. Also improves graphical appearance of the examples by using a minimalist theme with alternative data subsets (#61).

Maintenance

  • Refactor the logo generation script from an R script to a shell script and move it into tools/ (#66).
  • Use standard static imports workflow (#58).

ggsci 3.2.0

17 Jun 23:39
b5bf1fd

Choose a tag to compare

New features

  • Add the Observable 10 palette in scale_color_observable() and scale_fill_observable() (#41).
  • Add Bootstrap 5 color palettes (continuous) in scale_color_bs5() and scale_fill_bs5() (#18).
  • Add Tailwind CSS color palettes (continuous) in scale_color_tw3() and scale_fill_tw3() (#19).

Improvements

  • Move internal color palette data from R/sysdata.rda to R/palettes.R. This change enhances package development transparency, reduces unnecessary indirection, and simplifies contributions by avoiding the construction of the palette data using the R script in data-raw/ (#42).
  • For continuous palette examples, remove the reshape2 dependency and use more compact grid layout to reduce output image size (#45).

ggsci 3.1.0

21 May 04:29
906f3a9

Choose a tag to compare

New features

  • The BMJ color palettes are implemented in scale_color_bmj() and scale_fill_bmj() (thanks, @huichen99, #32).

Documentation

  • Convert Rd syntax to Markdown in roxygen2 documentation. This simplifies documentation formatting and makes it much easier to add new color scales for contributors (#35).

ggsci 3.0.3

25 Mar 05:28
0924fd7

Choose a tag to compare

Improvements

  • Detect ggplot2 version at runtime to determine if the argument scale_name is needed for all discrete_scale() calls. This ensures ggsci always works regardless of the ggplot2 version installed (thanks, @flyingicedragon, #29).

ggsci 3.0.2

18 Mar 00:54

Choose a tag to compare

Improvements

  • Remove scale_name from all discrete_scale() calls because the argument has been deprecated in ggplot2 3.5.0 (thanks, @DanChaltiel, #25).

ggsci 3.0.1

02 Mar 05:50

Choose a tag to compare

Improvements