Skip to content

Commit 4a46cc6

Browse files
committed
Remove superfluous comma in function arguments
The `element_text` function is called with a comma after its last argument. While this does not produce a bug, it is an irregularity better to be fixed.
1 parent c3f38ee commit 4a46cc6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Bug fixes and minor improvements
44

5+
* Removed a superfluous comma in `theme-defaults.r` code (@jschoeley)
6+
57
* Fixed a compatibility issue with `ggproto` and R versions prior to 3.1.2.
68
(#1444)
79

R/theme-defaults.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ theme_grey <- function(base_size = 11, base_family = "") {
8686
),
8787
axis.title.y = element_text(
8888
angle = 90,
89-
margin = margin(r = 0.8 * half_line, l = 0.8 * half_line / 2),
89+
margin = margin(r = 0.8 * half_line, l = 0.8 * half_line / 2)
9090
),
9191

9292
legend.background = element_rect(colour = NA),

0 commit comments

Comments
 (0)