Skip to content

Commit d527a6e

Browse files
authored
Note legend interaction (#5732)
1 parent 5767e4e commit d527a6e

File tree

8 files changed

+16
-8
lines changed

8 files changed

+16
-8
lines changed

R/scale-.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ continuous_scale <- function(aesthetics, scale_name = deprecated(), palette, nam
188188
#' notation.
189189
#' @param drop Should unused factor levels be omitted from the scale?
190190
#' The default, `TRUE`, uses the levels that appear in the data;
191-
#' `FALSE` uses all the levels in the factor.
191+
#' `FALSE` includes the levels in the factor. Please note that to display
192+
#' every level in a legend, the layer should use `show.legend = TRUE`.
192193
#' @param na.translate Unlike continuous scales, discrete scales can easily show
193194
#' missing values, and do so by default. If you want to remove missing values
194195
#' from a discrete scale, specify `na.translate = FALSE`.

man/discrete_scale.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/scale_discrete.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/scale_grey.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/scale_hue.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/scale_linetype.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/scale_manual.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/scale_shape.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)