MOFA2
MOFA2 copied to clipboard
plot_factors: fix continuous color scale when plotting >2 factors
Currently, when plotting a pairs plot of factors, which happens automatically when plot_factors receives more than 2 factors, a red-blue color scale is applied to the legend, but not to the plot, which results in the plot and the legend having different color scales. This patch fixes this.
Current behavior:

Patched:
