summaryrefslogtreecommitdiff
path: root/report/plot_factory.rb
diff options
context:
space:
mode:
Diffstat (limited to 'report/plot_factory.rb')
-rw-r--r--report/plot_factory.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/report/plot_factory.rb b/report/plot_factory.rb
index 6e90dbc..61c3eea 100644
--- a/report/plot_factory.rb
+++ b/report/plot_factory.rb
@@ -246,7 +246,11 @@ module Reports
data[v.send(title_attribute).to_s] << value
end
- Reports::r_util.boxplot( out_files, data)
+ data_array = []
+ data.each do |k,v|
+ data_array << [k, v]
+ end
+ Reports::r_util.boxplot( out_files, data_array.sort)
end
def self.create_bar_plot( out_files, validation_set, title_attribute, value_attributes )