datactive / bigbang

Scientific analysis of collaborative communities
http://datactive.github.io/bigbang/
MIT License
149 stars 52 forks source link

common styles / colors for graphs and visualizations #507

Open npdoty opened 2 years ago

npdoty commented 2 years ago

Using the standard matplotlib colors and styles is not ideal: the color palettes are not accessible to people with color-blindness, for example.

If we have the libraries and maybe a standard snippet of code to set the styles at the beginning of a notebook, that could be useful. So far, I'm importing seaborn and setting the color palette colorblind. Seaborn also has simple methods to set basic style parameters. I don't know if we can or should embed this across notebooks.