Change color conditional_smooths

I cannot change the colour of the conditional_smooths plot. I create the plot like so:


but then this doesn’t change the color. I tried various ways (scale_color_grey()) but none worked.

plot(p1, plot=FALSE)[[1]] + scale_color_manual(values=“DC267F”)

What am I doing wrong?

  • Operating System: MacOS Catalina
  • brms Version: 2.15.0

I think you need scale_color_gradient here.

I tried that too and no results, tried scale_color_grey() too and nothing changes

1 Like

Can you post the full model code and a snippet of the data (or simulated data) that we can play with. It’s hard to recreate this on my end.