Skip to content

Plots inconsistency #37

Open
Open

Description

@arzoo14

@v0dro
Plots are not coming appropriately as they were coming earlier. Many plots are coming in a single plot. Even my branch is with current master.
accepts_both_x_and_y_data

Activity

  1. v0dro commented on Jan 22, 2019

    @v0dro
    Member

    Can you pull the latest master and try again? Exactly which file from the tests have you posted here?

    In the latest master, set this argument to :magick, and then check the files generated in spec/temp/.

  2. arzoo14 commented on Feb 8, 2019

    @arzoo14
    ContributorAuthor

    @v0dro
    I've pulled the latest master and after running the command rspec, the following error is coming :

    An error occurred while loading spec_helper.
    Failure/Error: require_relative '../../grruby.so'
    

    Last time, I have posted the results from spec/temp/ file.

  3. v0dro commented on Feb 10, 2019

    @v0dro
    Member

    Just comment out the require_relative '../../grruby.so' line and remove any other requires related to GR.

  4. arzoo14 commented on Feb 16, 2019

    @arzoo14
    ContributorAuthor

    Done as you have said but still the following errors are coming :

     1) Rubyplot::Axes b: #<Rubyplot::Backend::MagickWrapper:0x00000000030b5240>. #stacked_bar! plots multiple stacked bar graphs with default colors
         Got 0 failures and 2 other errors:
    
         1.1) Failure/Error: @abs_x1 = @axes.origin[0]
              
              NoMethodError:
                undefined method `[]' for nil:NilClass
              # ./lib/rubyplot/artist/axis/x_axis.rb:8:in `initialize'
              # ./lib/rubyplot/artist/axes.rb:96:in `new'
              # ./lib/rubyplot/artist/axes.rb:96:in `initialize'
              # ./lib/rubyplot/artist/figure.rb:69:in `new'
              # ./lib/rubyplot/artist/figure.rb:69:in `add_subplot'
              # ./spec/axes_spec.rb:17:in `block (3 levels) in <top (required)>'
    
         1.2) Failure/Error: Rubyplot.backend.init_output_device if output
              
              NoMethodError:
                undefined method `init_output_device' for #<Rubyplot::Backend::MagickWrapper:0x00000000030b5240>
              # ./lib/rubyplot/artist/figure.rb:96:in `write'
              # ./spec/spec_helper.rb:51:in `block (2 levels) in <top (required)>'
    

    These errors are coming for every plot.

  5. arzoo14 commented on Feb 18, 2019

    @arzoo14
    ContributorAuthor

    @v0dro gentle ping !

  6. v0dro commented on Feb 21, 2019

    @v0dro
    Member

    Ah. That's because I committed some of the GR stuff (which is not ready) into master by mistake. I can correct this by Monday evening by keeping the master stable and/or finishing the GR integration and merging GR into this.

    Until then maybe you can try out a previous commit that works. Like this one: 71b99fa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions