Skip to content

Commit 2825161

Browse files
author
Lindsay Carr
committed
las for axis in yaml & logic for calling functions updated
1 parent e5089a9 commit 2825161

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

R/print.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ print.gsplot <- function(x, ...){
6868

6969
# -- call functions --
7070

71-
if((sum(view.info$x.side.defined.by.user[i], view.info$y.side.defined.by.user[i])== 0 ) &
72-
(class(window$xlim) == "numeric" & class(window$ylim) == "numeric") |
73-
!(any(names(plots) %in% 'grid'))){
71+
# if((sum(view.info$x.side.defined.by.user[i], view.info$y.side.defined.by.user[i])== 0 ) &
72+
# (class(window$xlim) == "numeric" & class(window$ylim) == "numeric") |
73+
if(!(any(names(plots) %in% 'grid'))){
7474
to_gsplot(lapply(plots, function(x) x[!names(x) %in% 'legend.name']))
7575
} else {
7676
draw_custom_grid(views,i)

inst/extdata/default.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ axis:
2222
line: NULL
2323
pos: NULL
2424
outer: FALSE
25+
las: 1
2526
title: NULL
2627
text: NULL
2728
mtext:

0 commit comments

Comments
 (0)