Skip to content

Commit ea53779

Browse files
author
Kirill Müller
committed
Roxygenize
1 parent 9df62a6 commit ea53779

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

man/guide_colourbar.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
\name{guide_colourbar}
33
\alias{guide_colorbar}
44
\alias{guide_colourbar}
5-
\title{Contiuous colour bar guide.}
5+
\title{Continuous colour bar guide.}
66
\usage{
77
guide_colourbar(title = waiver(), title.position = NULL,
88
title.theme = NULL, title.hjust = NULL, title.vjust = NULL,

man/theme.Rd

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,11 @@ last example below.
100100
and grid lines. This should be used with \code{fill=NA}
101101
(\code{element_rect}; inherits from \code{rect}) \cr
102102
panel.margin \tab margin around facet panels
103-
(\code{unit}) \cr panel.grid \tab grid lines
103+
(\code{unit}) \cr panel.margin.x \tab horizontal margin
104+
around facet panels (\code{unit}; inherits from
105+
\code{panel.margin}) \cr panel.margin.y \tab vertical
106+
margin around facet panels (\code{unit}; inherits from
107+
\code{panel.margin}) \cr panel.grid \tab grid lines
104108
(\code{element_line}; inherits from \code{line}) \cr
105109
panel.grid.major \tab major grid lines
106110
(\code{element_line}; inherits from \code{panel.grid})
@@ -227,7 +231,7 @@ k + theme(strip.background = element_rect(colour = "purple", fill = "pink",
227231
k + theme(strip.text.x = element_text(colour = "red", angle = 45, size = 10,
228232
hjust = 0.5, vjust = 0.5))
229233
k + theme(panel.margin = unit(5, "lines"))
230-
k + theme(panel.margin = unit(0, "lines"))
234+
k + theme(panel.margin.y = unit(0, "lines"))
231235

232236

233237
# Modify a theme and save it

0 commit comments

Comments
 (0)