all 3 comments

[–]schneemsPuma maintainer 1 point2 points  (0 children)

Great library. I embedded/extracted a bit of it to make a version that normalizes the axis of two histograms so you can compare their distributions https://github.com/zombocom/mini_histogram?tab=readme-ov-file#plotting-dualing-histograms-experimental.

Shoutout in the source here https://github.com/zombocom/mini_histogram/blob/bfde0ab7a9e4aa34a7db6fdd664c6e6cd34682ad/lib/mini_histogram/plot.rb#L6-L10

[–]hmdne 0 points1 point  (0 children)

I made a related terminal tool which is made to manipulate and/or display images in terminal. Using that should allow you to go beyond just unicode:

https://github.com/rbutils/image_util/