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")
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 toautographr(ison_physicians[[1]], edge_color = "type") + scale_color_rug()
and toautographr(ison_physicians[[1]], edge_color = "type")