Skip to content

Commit

Permalink
Do not rename_size = TRUE for geoms that will accept both size and li…
Browse files Browse the repository at this point in the history
…newidth (#4964)
  • Loading branch information
thomasp85 authored Aug 25, 2022
1 parent 339462c commit a383fdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions R/geom-pointrange.r
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,5 @@ GeomPointrange <- ggproto("GeomPointrange", Geom,
GeomPoint$draw_panel(transform(data, size = size * fatten), panel_params, coord)
))
)
},

rename_size = TRUE
}
)
4 changes: 1 addition & 3 deletions R/geom-sf.R
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,7 @@ GeomSf <- ggproto("GeomSf", Geom,
} else {
draw_key_polygon(data, params, size)
}
},

rename_size = TRUE
}
)

default_aesthetics <- function(type) {
Expand Down

0 comments on commit a383fdb

Please sign in to comment.