Skip to content

Commit 6a0f31c

Browse files
author
Jordan S Read
committed
simple change to print method
1 parent 31e75c3 commit 6a0f31c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

R/print.R

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,9 @@ print.gsplot <- function(x, ...){
4242
}
4343

4444
par(x$global$par)
45+
bgCol(x$global$bgCol)
46+
title(x$global$title)
4547

46-
bg.arg <- views$global$bgCol
47-
title.arg <- views$global$title
48-
bgCol(bg.arg)
49-
title(title.arg)
5048
view.info <- view_info(views)
5149
side.names <- side_names(views)
5250

0 commit comments

Comments
 (0)