Skip to content

Commit 6afa686

Browse files
committed
fix Dataset from Daru::Dataframe creation
1 parent 3940147 commit 6afa686

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/gnuplotrb/staff/dataset.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,8 @@ def init_daru_frame(data, options)
267267
"#{Regexp.last_match(1)}#{array_index + 2}#{Regexp.last_match(2)}"
268268
end
269269
end
270-
options[:using].gsub!('index', '1').strip!
270+
options[:using].gsub!('index', '1')
271+
options[:using].strip!
271272
else
272273
options[:using] = get_daru_columns(data, data.vectors.size + 1)
273274
end

0 commit comments

Comments
 (0)