The layout does not work with only two traits because the current code creates an upper triangular matrix of plots and puts the legend in one of the empty panels. But with two traits the matrix of plots is only a 1x1 matrix. So there is no empty panel to put the legend into. This results in an error. I thought it would be a quick fix but it will require a little bit, or maybe a lot, of rewriting of Ostats_multivariate_plot. I will fix it ASAP. Thanks to Paco Fontaine for pointing this out to me via email.
The layout does not work with only two traits because the current code creates an upper triangular matrix of plots and puts the legend in one of the empty panels. But with two traits the matrix of plots is only a 1x1 matrix. So there is no empty panel to put the legend into. This results in an error. I thought it would be a quick fix but it will require a little bit, or maybe a lot, of rewriting of
Ostats_multivariate_plot
. I will fix it ASAP. Thanks to Paco Fontaine for pointing this out to me via email.