DominikRafacz/deepdep

Change colors in plots

Closed this issue · 4 comments

Could you change colors of arrows and labels in example plots because they can be prettier ;)

Hi @kozaka93
Thanks for your opinion. Can you propose some nicely looking color palette?

Looks better, also you can use palettes from RColorBrewer such as Set1 or Paired.

We do now! (Just for edges, though)

Actually, it's ggplot object, so you can save it:
g <- plot_dependencies("randomPackage")
and just add scales you need, like scale_edge_color_* or scale_fill_*.
Let's say,
g + scale_fill_brewer("Paired").

But, yeah, default palettes are not perfect yet.