Skip to content

Commit

Permalink
leave out integration with transform_exp() for now
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand committed Oct 31, 2024
1 parent 4a95f27 commit 2647b7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ranges (#435).
* New `label_date_short(leading)` argument to replace leading zeroes (#442)
* `breaks_pretty()` will return the input limit when it has no range (#446)
* `transform_exp()` now has more sensible breaks, available in `breaks_exp()`
* `breaks_exp()` now provides more sensible breaks for the exponential transform
(@teunbrand, #405).
* The scales package now keeps track of known palettes. These can be retrieved
using `get_palette()` or registered using `set_palette()` (#396).
Expand Down
3 changes: 1 addition & 2 deletions R/transform-numeric.R
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,7 @@ transform_exp <- function(base = exp(1)) {
function(x) base^x,
function(x) log(x, base = base),
d_transform = function(x) base^x * log(base),
d_inverse = function(x) 1 / x / log(base),
breaks = breaks_exp(),
d_inverse = function(x) 1 / x / log(base)
)
}

Expand Down

0 comments on commit 2647b7c

Please sign in to comment.