summaryrefslogtreecommitdiff
path: root/report/report_factory.rb
diff options
context:
space:
mode:
authorMartin Gütlein <martin.guetlein@gmail.com>2010-02-26 15:13:44 +0100
committerMartin Gütlein <martin.guetlein@gmail.com>2010-02-26 15:13:44 +0100
commite2b814301c323bc787ad9d75eceb786e3cb7dde9 (patch)
tree21c668db2a956796302a97d1a41fb59c38783cf0 /report/report_factory.rb
parentbb3f0d747876b59e6c2eaa24441d5690c2655d3b (diff)
replacing r bar plot with ruby-plot gem
Diffstat (limited to 'report/report_factory.rb')
-rw-r--r--report/report_factory.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/report/report_factory.rb b/report/report_factory.rb
index 4331660..e577d70 100644
--- a/report/report_factory.rb
+++ b/report/report_factory.rb
@@ -244,7 +244,6 @@ class Reports::ReportContent
@xml_report.add_imagefigure(section_roc, image_title, plot_file_name, "SVG", image_caption)
rescue RuntimeError => ex
LOGGER.error("could not create roc plot: "+ex.message)
- LOGGER.debug("if R cannot find your libs, try adding R_LIBS='<lib>' to your ~/.Renviron file")
rm_tmp_file(plot_file_name)
@xml_report.add_paragraph(section_roc, "could not create roc plot: "+ex.message)
end
@@ -297,7 +296,7 @@ class Reports::ReportContent
@xml_report.add_paragraph(section_bar, section_text) if section_text
plot_file_path = add_tmp_file(plot_file_name)
- Reports::RPlotFactory.create_bar_plot(plot_file_path, validation_set, class_value, title_attribute, value_attributes )
+ Reports::PlotFactory.create_bar_plot(plot_file_path, validation_set, class_value, title_attribute, value_attributes )
@xml_report.add_imagefigure(section_bar, image_title, plot_file_name, "SVG", image_caption)
end