Closed tansaku closed 9 years ago
box = plot4.add(:box, arr, arr2, arr3, arr4)
box.values[:label_arr, :arr2, :arr3, :arr4]
plot4.show
or
df = Nayplot::DataFrame.new({arr1: arr1, arr2: arr2})
plot4.add_with_df(df, :arr1, :arr2)
plot4.show
awesome thanks @domitry !
can't quite get that first one to work:
undefined method
values' for #
but the second one (add_with_df) worked - woot!
As far as I can see the x data labels for a boxplot default to 'data0', 'data1' etc. does anyone know how to change that?