stocnet / manynet

Many Ways to Make, Manipulate, and Map Myriad Networks
https://stocnet.github.io/manynet/
Other
12 stars 0 forks source link

Color scales not working for edge colors in `autographr()` #43

Closed henriquesposito closed 10 months ago

henriquesposito commented 11 months ago

At different stages of how we code the autograph family of functions, we map variable to aesthetics or not to change plot aesthetics. This makes so that sometimes scales work as expected and other times not. This issue might require we refactor the code to make it more concise and consistent when it comes to mapping variable to aesthetics.

autographr(ison_physicians[[1]], edge_color = "type") + scale_color_sdgs() is equal to autographr(ison_physicians[[1]], edge_color = "type") + scale_color_rug() and to autographr(ison_physicians[[1]], edge_color = "type")

henriquesposito commented 10 months ago

This has been fixed with the addition of edge specific color scales.

autographr(ison_physicians[[1]], edge_color = "type") + scale_edge_color_ethz()