Granite: a terminal plotting library

Have been working on this for some time as part of dataframe but decided to split it off in case anyone also finds it useful.

The main library has no dependencies except base (by design) so it should in principle work on MicroHs as well (haven’t tried yet).

I hope someone finds this useful for a CLI tool. You have to do a little trickery on windows to get the unicode characters to show but it works there too.

41 Likes

Excellent work once again!

This looks great and I bet it is also much more satisfying code-wise to have it in a standalone library :slight_smile:

5 Likes

Thank you! Came at the cost of efficiency but that’s fine cause it looks pretty. Particularly proud of heatmaps:

11 Likes

Wonderful! I’ve been looking for such library just a few weeks ago.

2 Likes

Added it on hackage: granite: Easy terminal plotting.

6 Likes

This looks amazing. I want a criterion backend that plots with this.

5 Likes

Also, please add the github link to the package description (the .cabal file).

Amazing work! Looking forward to using it

That is so nice!! Amazing work man <3 I will definitely use this

3 Likes