src-d / hercules

Gaining advanced insights from Git repository history.
Other
2.63k stars 334 forks source link

question: how to remove duplicate color bands in people burndown? #252

Closed ghost closed 5 years ago

ghost commented 5 years ago

Thank you for building this tool! I noticed for repositories that have numerous contributors, the plot color bands repeat: Specifically in the ember.js example, the dark orange color repeats for 3 distinct contributors. https://github.com/src-d/hercules#code-ownership

Is there a way to configure labours.py so it will generate bands using distinct colors?

vmarkovtsev commented 5 years ago

You can try different --style values, but it will not help much, probably. This is a built-in Matplotlib limitation, it repeats the colors once the color scheme is exhausted. Ideally, the plots should be interactive and web-based, but there is no internal HR for that currently. There is also hercules-web by my colleague @smacker