insightsengineering / NEST-roadmap

0 stars 0 forks source link

Creating a new `nestcolor` package to help define a set of colors and color palette for plotting #39

Closed shajoezhu closed 2 years ago

shajoezhu commented 2 years ago
gogonzo commented 2 years ago

We decided with @shajoezhu that we will focus more on nestcolors package alone to produce necessary convenient function to avoid reverting changes in the downstream packages (modules).

Some packages doesn't have any color management (tmg), some have var, col (osprey) mapping which goes to scale_color_manual and goshawk has a argument for treatment coloring which requires a named list. We need to find the optimal solution here. Good benchmark is for example.

We probably need some option to change the default ggplot pallette, some predefined scale_color_ and convenient functions to easily map vector to a colors.

gogonzo commented 2 years ago

We are still in the research phase as we don't know how complex it might be to change the color pallette of all NEST modules. There is a way of fixing ggplot default colors by options but not for all plots, because:

gogonzo commented 2 years ago

Closing as all sub-issues have been addressed