Skip to content

Commit

Permalink
Reformat news
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Jun 12, 2015
1 parent 2c3edf4 commit a05586e
Showing 1 changed file with 26 additions and 19 deletions.
45 changes: 26 additions & 19 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,39 +1,46 @@
Version 0.2.5
------------------------------------------------------------------------------

* Add a `direction` argument to `brewer_pal` to easily invert the order
of colours (@jiho, #36).

* Add color scaling functions `col_numeric()`, `col_bin()`, `col_quantile()`,
and `col_factor()`. These functions provide concise ways to map continuous or
categorical values to color spectra.
## Improved formatting functions

* Add `colour_ramp()` function for performing color interpolation in the CIELAB
color space (like `grDevices::colorRamp(space = 'Lab')`, but much faster).

* `wrap_format()` function to wrap character vectors to a desired width.
(@jimhester, #37).
* `date_format()` gans an option to specify time zone (#51).

* Dollar format is now more flexible and can add either prefixes or suffixes
* `dollar_format()` is now more flexible and can add either prefixes or suffixes
for different currencies (#53). It gains a `negative_parens` argument
to show negative values as `($100)` and now passes missing values through
unchanged (#40, @dougmitarotonda).

* Relaxed tolerance in `zero_range()` to `sqrt(.Machine$double.eps)` (#33).
* New `ordinal_format()` generates ordinal numbers (1st, 2nd etc)
(@aaronwolen, #55)

* `boxcox_trans()` returns correct value when p is close to zero (#31).
* New `unit_format()` makes it easier to add units to labels, optionally
scaling (@ThierryO, 46)

* `show_col()` has additional options to showcase colors better (@jiho, #52)
* New `wrap_format()` function to wrap character vectors to a desired width.
(@jimhester, #37).

* New formatter function to generate ordinal numbers (@aaronwolen, #55)
## New colour scaling functions

* `date_format()` has additional option to specify time zone (#51).
* New color scaling functions `col_numeric()`, `col_bin()`, `col_quantile()`,
and `col_factor()`. These functions provide concise ways to map continuous or
categorical values to color spectra.

* New `colour_ramp()` function for performing color interpolation in the CIELAB
color space (like `grDevices::colorRamp(space = 'Lab')`, but much faster).

## Other bug fixes and minor improvements

* `boxcox_trans()` returns correct value when p is close to zero (#31).

* `dollar()` and `percent()` both correctly return a zero length string
for zero length input (@BrianDiggs, #35)

* New `unit_format()` makes it easier to add units to labels, optionally
scaling (@ThierryO, 46)
* `brewer_pal()` gains a `direction` argument to easily invert the order
of colours (@jiho, #36).

* `show_col()` has additional options to showcase colors better (@jiho, #52)

* Relaxed tolerance in `zero_range()` to `.Machine$double.eps * 1000` (#33).

Version 0.2.4
------------------------------------------------------------------------------
Expand Down

0 comments on commit a05586e

Please sign in to comment.