Skip to content

Dataset initialisation broken in ruby 3.0.0 #22

Open
@JC-Morph

Description

@JC-Morph

Running any examples from the basic usage notebook locally result in the following error:
ArgumentError: wrong number of arguments (given 2, expected 1) from /.gem/ruby/3.0.0/gems/gnuplotrb-0.4.0/lib/gnuplotrb/staff/dataset.rb:65:in 'initialize'

The only example that works locally for me is:
Plot.new('sin(x)').to_png('plot.png')

Examples here and here all return the same error as well.

ruby version: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions