git-stats icon indicating copy to clipboard operation
git-stats copied to clipboard

Terminal plotting

Open bbelderbos opened this issue 3 years ago • 2 comments

This can be improved:

image

We could use plotext for example: https://pybit.es/articles/terminal-plotting-with-plotext/

bbelderbos avatar Oct 07 '22 12:10 bbelderbos

Hello @bbelderbos, what do you think about using the UTF-8 character "█" to generate bars? One approach could include making the bar entirely fill the max value in the series and the other bars would fill (approximately) their percentage of the max. If less than a certain percentage of the max, a skinny bar could be used as seen below.

image

I'd like to try to implement if you're open to the idea?

claytonjhamilton avatar Oct 09 '22 00:10 claytonjhamilton

Awesome, thanks 🙏 @claytonjhamilton, looks nice, much better than what we have now :) Let's focus on this first, but if you see other areas of improvement with the report, let me know ...

bbelderbos avatar Oct 10 '22 07:10 bbelderbos

Nice work @claytonjhamilton I finally used this tool again and was delighted seeing this in my terminal 😍

image

bbelderbos avatar May 19 '23 09:05 bbelderbos