Skip to content

Commit ffbe496

Browse files
committed
update summarise_layout to use backtransform_range() instead of range().
1 parent c9ba9bb commit ffbe496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/summarise-plot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ summarise_layout = function(p) {
3838
setNames(res, facet_vars)
3939
})
4040

41-
xyranges <- lapply(l$panel_params, l$coord$range)
41+
xyranges <- lapply(l$panel_params, l$coord$backtransform_range)
4242
layout$xmin <- vapply(xyranges, function(xyrange) xyrange$x[[1]], numeric(1))
4343
layout$xmax <- vapply(xyranges, function(xyrange) xyrange$x[[2]], numeric(1))
4444
layout$ymin <- vapply(xyranges, function(xyrange) xyrange$y[[1]], numeric(1))

0 commit comments

Comments
 (0)