diff yetilab/plot/plot.yeti @ 141:9852a273e559

Static chart
author Chris Cannam
date Thu, 25 Apr 2013 16:23:33 +0100
parents 10463070bab4
children 4065178f776b
line wrap: on
line diff
--- a/yetilab/plot/plot.yeti	Wed Apr 24 15:19:17 2013 +0100
+++ b/yetilab/plot/plot.yeti	Thu Apr 25 16:23:33 2013 +0100
@@ -114,9 +114,11 @@
     );
 
 showChart opts chart is 'a -> ~Chart -> () =
-   (//if opts.display then
+   (if opts.display then
         \() ChartLauncher#openChart(chart);
-//    fi;
+    else
+        \() ChartLauncher#openStaticChart(chart);
+    fi;
     if opts.saveTo != "" then
         \() chart#screenshot(opts.saveTo);
     fi);