unicode_plot.rb icon indicating copy to clipboard operation
unicode_plot.rb copied to clipboard

Add heatmap support

Open mrkn opened this issue 6 years ago • 4 comments

We can support heatmap as UnicodePlots.jl did at https://github.com/Evizero/UnicodePlots.jl/pull/88

mrkn avatar Jan 11 '20 04:01 mrkn

Hello @mrkn , I think adding this may require a dependency on another Gem such as https://github.com/janlelis/paint to be able to support 24-bit color in the terminal. Is it acceptable to add this dependency to support the heatmap?

nanobowers avatar Dec 29 '20 13:12 nanobowers

I want to investigate the library and consider what should I do.

mrkn avatar Dec 29 '20 14:12 mrkn

We need to use https://github.com/red-data-tools/red-colors and https://github.com/red-data-tools/red-palette to implement colormap used in heatmap because this library is a backend of https://github.com/red-data-tools/charty.

mrkn avatar Jan 02 '21 08:01 mrkn

@mrkn I am working on this and have made some progress getting simple plots to display. There is a dependency on #34, as it requires at least 256 color support for this feature.

nanobowers avatar Feb 20 '21 20:02 nanobowers