summaryrefslogtreecommitdiff
path: root/views/model_details.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/model_details.haml')
-rw-r--r--views/model_details.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/model_details.haml b/views/model_details.haml
index 8877de5..2d7a693 100644
--- a/views/model_details.haml
+++ b/views/model_details.haml
@@ -132,7 +132,7 @@
%div.row
%div.collapse.plot.mx-auto{:id=>"pplot#{model.id}#{idx}"}
- = embedded_svg(cv.probability_plot(format: "svg"))
+ %img{:src=>"/#{cv.id}.png", :alt=>"#{cv.id}.png"}
/ regression
- if model.regression?
@@ -180,7 +180,7 @@
Correlation plot
%div.row
%div.collapse.plot.mx-auto{:id=>"cplot#{model.id}#{idx}"}
- = embedded_svg(cv.correlation_plot(format: "svg"))
+ %img{:src=>"/#{cv.id}.png", :alt=>"#{cv.id}.png"}
- unless idx == crossvalidations.size-1
%hr