Skip to content

Commit

Permalink
plot.cca with optimize=T could over-write user parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
jarioksa committed Jul 29, 2024
1 parent 965d70b commit 4d0eb85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot.cca.R
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
if (isTRUE(par$arrows) || kind %in% c("biplot", "regression"))
message("'optimize = TRUE' and arrows do not mix nicely")
if (is.null(par$pch)) # optimize=TRUE needs points
par <- modifyList(par, defParPoints[[kind]])
par <- modifyList(par, list(pch = defParPoints[[kind]]$pch))
}
}
## add arguments for text/points.ordiplot, remove type
Expand Down

0 comments on commit 4d0eb85

Please sign in to comment.