Skip to content

Commit ee03582

Browse files
authored
leave out integration with transform_exp() for now (#476)
1 parent b10a9de commit ee03582

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

NEWS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
ranges (#435).
55
* New `label_date_short(leading)` argument to replace leading zeroes (#442)
66
* `breaks_pretty()` will return the input limit when it has no range (#446)
7-
* `transform_exp()` now has more sensible breaks, available in `breaks_exp()`
7+
* `breaks_exp()` now provides more sensible breaks for the exponential transform
88
(@teunbrand, #405).
99
* The scales package now keeps track of known palettes. These can be retrieved
1010
using `get_palette()` or registered using `set_palette()` (#396).

R/transform-numeric.R

+1-2
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,7 @@ transform_exp <- function(base = exp(1)) {
255255
function(x) base^x,
256256
function(x) log(x, base = base),
257257
d_transform = function(x) base^x * log(base),
258-
d_inverse = function(x) 1 / x / log(base),
259-
breaks = breaks_exp(),
258+
d_inverse = function(x) 1 / x / log(base)
260259
)
261260
}
262261

0 commit comments

Comments
 (0)