unicode_plot.rb
unicode_plot.rb copied to clipboard
Plot your data by Unicode characters
For simplifying the documentation, we should hide private things.
Hello. This is not a bug report, but rather just a neutral report. We should not give xlim an array of strings. But, when xlim is an array of strings,...
First I tried to paste the dot plot to https://gist.github.com/ but the background was all dotted. Not clean like I see it in Terminal:  Then I tried another pastebin...
Looking at the list of past pull requests, I remembered that @nanobowers added stemplot. I think we need to add an example of stemplot to README.md. so that visitors can...
## Barplot ```ruby UnicodePlot.lineplot([2,3,4],[5,6,7], title: "Bar", color: 32).render ``` OK. ## Lineplot ```ruby UnicodePlot.lineplot([1,2,3], [4,5,8], color: 32).render ``` Error ``` 9: from /Library/Ruby/Gems/2.6.0/gems/unicode_plot-0.0.4/lib/unicode_plot/lineplot.rb:40:in `lineplot' 8: from /Library/Ruby/Gems/2.6.0/gems/unicode_plot-0.0.4/lib/unicode_plot/lineplot.rb:85:in `lineplot!' 7: from...
For supporting JRuby, we first need to let enumerable-statistics support JRuby.
We can support heatmap as UnicodePlots.jl did at https://github.com/Evizero/UnicodePlots.jl/pull/88
When pasting my plots into text editors on Mac, they didn't like the width of the fancier borders and drew them out of alignment. This adds an old-school ASCII-only border...
What if all APIs, such as UnicodePlot.barplot(), also support an argument called colors? For instance: UnicodePlot.barplot(data: {'foo': 20, 'bar': 50}, colors: "steelblue").render This would use steelblue rather than green (the...