Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plots inconsistency #37

Open
arzoo14 opened this issue Jan 18, 2019 · 6 comments
Open

Plots inconsistency #37

arzoo14 opened this issue Jan 18, 2019 · 6 comments

Comments

@arzoo14
Copy link
Contributor

arzoo14 commented Jan 18, 2019

@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

@v0dro
Copy link
Member

v0dro commented Jan 22, 2019

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/.

@arzoo14
Copy link
Contributor Author

arzoo14 commented Feb 8, 2019

@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.

@v0dro
Copy link
Member

v0dro commented Feb 10, 2019

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

@arzoo14
Copy link
Contributor Author

arzoo14 commented Feb 16, 2019

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.

@arzoo14
Copy link
Contributor Author

arzoo14 commented Feb 18, 2019

@v0dro gentle ping !

@v0dro
Copy link
Member

v0dro commented Feb 21, 2019

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants