Giter Club home page Giter Club logo

termplot's People

Contributors

martin-nyaga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

termplot's Issues

Suggestion: Document use from within Ruby code

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.

Bug: Fails in Ruby 3.0.1

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>'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.