jacob-long / jtools

Tools for summarizing/visualizing regressions and other helpful stuff
https://jtools.jacob-long.com
GNU General Public License v3.0
165 stars 22 forks source link

Request: option to colour line and points separately in effect_plot #128

Closed ezherman closed 2 years ago

ezherman commented 2 years ago

Hi Jacob, it is my understanding that in the past, the colors argument changed the colour of the line only. It now changes the colour of the line and the data points - when the line is overlaid onto dense data, it becomes hard to distinguish the line from the data points.

I would like to request the option to colour the line and points that come out of effect_plot separately.

I have tried to edit the colour of the line with downstream ggplot commands (e.g. scale_colour_manual), however this was not successful.

For example, here is a plot from my teaching materials in which effect_plot is used extensively:

image

Thanks in advance!

ezherman commented 2 years ago

Thanks for including the option line.colors in the latest version of jtools!