-
Notifications
You must be signed in to change notification settings - Fork 27
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
Allow nil in data passed to graphs #53
Comments
I seem to get this error even when I don't have a nil in the data - trying to do a boxplot, with more than one set of data ... puts dec2014
puts '----'
puts mar2015
plot.add(:box, dec2014.compact, mar2015.compact) gives
|
ah, because I have arrays of different lengths? |
Oops that's true.. but it's bug. |
thanks @domitry - is there any quick fix I can do for this - was hoping to show some box plots at a presentation tomorrow :-) I guess I can get that via: gem 'nyaplot', :git => 'git://github.com/domitry/nyaplot.git' before it gets into the gem itself |
moved to #57 |
Currently when I pass a
nil
in an Array for plotting, nyaplot returns an error.It would be great if it could handle nils properly by not plotting the points where they appear, like GNU plot.
Here's some example code:
The text was updated successfully, but these errors were encountered: