Skip to content

Handle empty arrays in Array#to_gplot. #29

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

Merged
merged 1 commit into from
Mar 24, 2014
Merged

Handle empty arrays in Array#to_gplot. #29

merged 1 commit into from
Mar 24, 2014

Conversation

ldionne
Copy link
Contributor

@ldionne ldionne commented Mar 16, 2014

An empty array will now give the empty string when converted to Gnuplot data instead of triggering an error.
Note that Gnuplot will complain about empty datasets, but at least the wrapper will behave correctly.

Test case included.

@ldionne
Copy link
Contributor Author

ldionne commented Mar 16, 2014

Oh and my editor stripped trailing whitespace, hence the large number of lines that were modified.

rdp added a commit that referenced this pull request Mar 24, 2014
Handle empty arrays in Array#to_gplot.
@rdp rdp merged commit 2642a2f into rdp:master Mar 24, 2014
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

Successfully merging this pull request may close these issues.

2 participants