martin-nyaga / termplot Goto Github PK
View Code? Open in Web Editor NEWA simple terminal plotting tool for visualising streaming data.
License: MIT License
A simple terminal plotting tool for visualising streaming data.
License: MIT License
Nice gem!
It would be nice to have a section in the readme demonstrating how to use it from within Ruby code - assuming it is user-friendly.
I am sure I can figure it out myself by reviewing the code, but it would be nice to have a snippet on the readme, ready for copy-pasting.
First of all, brilliant work! I am so impressed by the gem. The screenshots looks amazing!!!! I really want to give this a try, but met with some road blocks.
Platform: Mac 11.2.3
Gem fails for most examples with the following trace when tested in 3.0.1
(it worked in 2.7.1
):
/Users/username/.gem/ruby/3.0.1/gems/termplot-0.3.0/lib/termplot/widgets/base_widget.rb:22:in `initialize': wrong number of arguments (given 1, expected 0) (ArgumentError)
from /Users/username/.gem/ruby/3.0.1/gems/termplot-0.3.0/lib/termplot/consumers/single_source_consumer.rb:28:in `new'
from /Users/username/.gem/ruby/3.0.1/gems/termplot-0.3.0/lib/termplot/consumers/single_source_consumer.rb:28:in `widget'
from /Users/username/.gem/ruby/3.0.1/gems/termplot-0.3.0/lib/termplot/consumers/single_source_consumer.rb:10:in `positioned_widgets'
from /Users/username/.gem/ruby/3.0.1/gems/termplot-0.3.0/lib/termplot/consumers/base_consumer.rb:17:in `initialize'
from /Users/username/.gem/ruby/3.0.1/gems/termplot-0.3.0/lib/termplot/cli.rb:22:in `new'
from /Users/username/.gem/ruby/3.0.1/gems/termplot-0.3.0/lib/termplot/cli.rb:22:in `run_consumer'
from /Users/username/.gem/ruby/3.0.1/gems/termplot-0.3.0/lib/termplot/cli.rb:10:in `run'
from /Users/username/.gem/ruby/3.0.1/gems/termplot-0.3.0/bin/termplot:5:in `<top (required)>'
from /Users/username/.gem/ruby/3.0.1/bin/termplot:23:in `load'
from /Users/username/.gem/ruby/3.0.1/bin/termplot:23:in `<main>'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.