lib/rbbt/util/R/plot.rb in rbbt-util-5.19.7 vs lib/rbbt/util/R/plot.rb in rbbt-util-5.19.8
- old
+ new
@@ -17,9 +17,10 @@
values = v
break
end
values = [values] unless Array === values
field_classes = values.collect do |v|
+ v = v.first if Array === v
case v
when FalseClass, TrueClass
"'logical'"
when Fixnum, Float
"'numeric'"