Skip to content

Commit

Permalink
fixed new bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mtennekes committed Sep 28, 2023
1 parent 6a5b80e commit 255d183
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions R/step4_plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,12 @@ step4_plot = function(tm, vp, return.asp, show) {


## place components top left
cdt$comp = lapply(cdt$comp, function(cc) {
cc$position = l = complete_options(tm_pos_in("left", "top"), o$legend.position)
cc
})

if (o$legend.only) {
cdt$comp = lapply(cdt$comp, function(cc) {
cc$position = l = complete_options(tm_pos_in("left", "top"), o$legend.position)
cc
})
}


if (nrow(cdt)) cdt = process_components(cdt, o)
Expand Down

0 comments on commit 255d183

Please sign in to comment.