Skip to content

Commit

Permalink
remove spurious use of size aesthetic for linewidth
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasp85 committed Mar 7, 2024
1 parent ab0e3d4 commit 64efb57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/geom_node_tile.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#'
#' ggraph(flareGraph, 'treemap', weight = size) +
#' geom_node_tile(aes(fill = class, filter = leaf, alpha = depth), colour = NA) +
#' geom_node_tile(aes(size = depth), colour = 'white') +
#' geom_node_tile(aes(linewidth = depth), colour = 'white') +
#' scale_alpha(range = c(1, 0.5), guide = 'none') +
#' scale_size(range = c(4, 0.2), guide = 'none')
#' @export
Expand Down
2 changes: 1 addition & 1 deletion man/geom_node_tile.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 64efb57

Please sign in to comment.