From 03a88211f7b71715bff66a10e63b198cceb2060c Mon Sep 17 00:00:00 2001 From: teunbrand <49372158+teunbrand@users.noreply.github.com> Date: Mon, 20 May 2024 11:52:31 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20tidyvers?= =?UTF-8?q?e/ggplot2@7a006da07c9b89976cfdcf6546a5a4d3c4e1047f=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev/articles/profiling.html | 2 +- dev/news/index.html | 3 ++- dev/pkgdown.yml | 2 +- dev/reference/benchplot.html | 24 ++++++++++++------------ dev/reference/scale_continuous-1.png | Bin 58295 -> 58088 bytes dev/reference/scale_discrete.html | 15 +++++++++------ dev/search.json | 2 +- 7 files changed, 26 insertions(+), 22 deletions(-) diff --git a/dev/articles/profiling.html b/dev/articles/profiling.html index 0fdbe7f4b8..daef5dbd69 100644 --- a/dev/articles/profiling.html +++ b/dev/articles/profiling.html @@ -145,7 +145,7 @@
In general, a minimal plot is used so that profiles are focused on +
In general, a minimal plot is used so that profiles are focused on low-level, general code, rather than implementations of specific geoms. This might be expanded at the point where improving performance of specific geoms becomes a focus. Further, the profile focuses on the diff --git a/dev/news/index.html b/dev/news/index.html index fbfd06f712..c724432a98 100644 --- a/dev/news/index.html +++ b/dev/news/index.html @@ -86,7 +86,8 @@
se
parameter in layers with geom = "smooth"
will be TRUE
when the data has ymin
and ymax
parameters and FALSE
if these are absent. Note that this does not affect the default of geom_smooth()
or stat_smooth()
(@teunbrand, #5572).palette
argument, which can be used to customise spacings between levels (@teunbrand, #5770).se
parameter in layers with geom = "smooth"
will be TRUE
when the data has ymin
and ymax
parameters and FALSE
if these are absent. Note that this does not affect the default of geom_smooth()
or stat_smooth()
(@teunbrand, #5572).stat_density()
uses a wider range to prevent discontinuities (#5641).geom_raster()
now falls back to rendering as geom_rect()
when coordinates are not Cartesian (#5503).benchplot(ggplot(mtcars, aes(mpg, wt)) + geom_point())
#> step user.self sys.self elapsed
-#> 1 construct 0.002 0.001 0.003
-#> 2 build 0.018 0.000 0.019
-#> 3 render 0.019 0.000 0.019
-#> 4 draw 0.019 0.000 0.019
-#> 5 TOTAL 0.058 0.001 0.060
+#> 1 construct 0.003 0 0.002
+#> 2 build 0.018 0 0.017
+#> 3 render 0.019 0 0.018
+#> 4 draw 0.020 0 0.020
+#> 5 TOTAL 0.060 0 0.057
benchplot(ggplot(mtcars, aes(mpg, wt)) + geom_point() + facet_grid(. ~ cyl))
#> step user.self sys.self elapsed
-#> 1 construct 0.003 0 0.003
+#> 1 construct 0.003 0 0.002
#> 2 build 0.036 0 0.036
-#> 3 render 0.043 0 0.043
+#> 3 render 0.042 0 0.042
#> 4 draw 0.035 0 0.035
-#> 5 TOTAL 0.117 0 0.117
+#> 5 TOTAL 0.116 0 0.115
# With tidy eval:
p <- expr(ggplot(mtcars, aes(mpg, wt)) + geom_point())
benchplot(!!p)
#> step user.self sys.self elapsed
-#> 1 construct 0.002 0 0.002
-#> 2 build 0.018 0 0.018
-#> 3 render 0.019 0 0.019
+#> 1 construct 0.002 0 0.003
+#> 2 build 0.017 0 0.018
+#> 3 render 0.018 0 0.019
#> 4 draw 0.019 0 0.019
-#> 5 TOTAL 0.058 0 0.058
+#> 5 TOTAL 0.056 0 0.059