Change colors in ggpairs now that params is deprecated
<p>I saw these posts 
<a href="https://stackoverflow.com/questions/21810675/ggallyggpairs-plot-without-gridlines-when-plotting-correlation-coefficient">GGally::ggpairs plot without gridlines when plotting correlation coefficient</a>
<a href="https://stackoverflow.com/questions/21716567/use-ggpairs-to-create-this-plot">use ggpairs to create this plot</a></p>

<p>After reading I was able to implement this hack <a href="https://github.com/tonytonov/ggally/blob/master/R/gg-plots.r" rel="noreferrer">https://github.com/tonytonov/ggally/blob/master/R/gg-plots.r</a> and my plot looks like this</p>

<p><a href="https://i.stack.imgur.com/3Y6Jo.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/3Y6Jo.jpg" alt="my plot"></a></p>

<p>I think this is a good result but I cannot change the colors.</p>

<p>A MWE is this</p>

<pre><code>library(ggally)

# load the hack
source("ggally_mod.R") 
# I saved https://github.com/tonytonov/ggally/blob/master/R/gg-plots.r as "ggally_mod.R"
assignInNamespace("ggally_cor", ggally_cor, "GGally")

ggpairs(swiss)
</code></pre>

<p>Now I want to run </p>

<pre><code>ggpairs(swiss, 
 lower=list(continuous="smooth", wrap=c(colour="blue")),
 diag=list(continuous="bar", wrap=c(colour="blue")))
</code></pre>

<p>But the colours remain the same. Is there a way to change the colours now that params is not working anymore?</p>