Skip to content

add "none" to documentation of theme() for parameter legend.position #918

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 25, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ ggplot2 0.9.3.1.99
* `ggpcp()`, `ggfluctuation()`, `ggmissing()`, `ggstructure()`, and
`ggorder()` are now defunct and have been removed.

* Add `"none"` to documentation of `theme()` for parameter `legend.position`.
(@krlmlr, #829)


ggplot2 0.9.3.1
----------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions R/theme.r
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ print.theme <- function(x, ...) str(x)
#' (\code{element_text}; inherits from \code{title}) \cr
#' legend.title.align \tab alignment of legend title
#' (number from 0 (left) to 1 (right)) \cr
#' legend.position \tab the position of legends.
#' ("left", "right", "bottom", "top", or two-element
#' legend.position \tab the position of legends
#' ("none", "left", "right", "bottom", "top", or two-element
#' numeric vector) \cr
#' legend.direction \tab layout of items in legends
#' ("horizontal" or "vertical") \cr
Expand Down
22 changes: 11 additions & 11 deletions man/theme.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,17 @@ last example below.
legend.title \tab title of legend (\code{element_text};
inherits from \code{title}) \cr legend.title.align \tab
alignment of legend title (number from 0 (left) to 1
(right)) \cr legend.position \tab the position of
legends. ("left", "right", "bottom", "top", or
two-element numeric vector) \cr legend.direction \tab
layout of items in legends ("horizontal" or "vertical")
\cr legend.justification \tab anchor point for
positioning legend inside plot ("center" or two-element
numeric vector) \cr legend.box \tab arrangement of
multiple legends ("horizontal" or "vertical") \cr
legend.box.just \tab justification of each legend within
the overall bounding box, when there are multiple legends
("top", "bottom", "left", or "right")\cr
(right)) \cr legend.position \tab the position of legends
("none", "left", "right", "bottom", "top", or two-element
numeric vector) \cr legend.direction \tab layout of items
in legends ("horizontal" or "vertical") \cr
legend.justification \tab anchor point for positioning
legend inside plot ("center" or two-element numeric
vector) \cr legend.box \tab arrangement of multiple
legends ("horizontal" or "vertical") \cr legend.box.just
\tab justification of each legend within the overall
bounding box, when there are multiple legends ("top",
"bottom", "left", or "right")\cr

panel.background \tab background of plotting area, drawn
underneath plot (\code{element_rect}; inherits from
Expand Down