passing tests and displaying titles in web UI

This commit is contained in:
jywarren
2017-03-03 19:05:06 -05:00
parent 89852e4459
commit eda5ecd3e7
13 changed files with 96 additions and 79 deletions

View File

@@ -4,6 +4,7 @@
module.exports = function Plot(options) {
options = options || {};
options.title = "Plot with colorbar";
options.colorscale = options.colorscale || 'Jet',//'RdBu';
options.type = options.type || 'contour'; // or 'heatmap'
@@ -66,7 +67,6 @@ module.exports = function Plot(options) {
}
return {
title: "Plot with colorbar",
options: options,
draw: draw
}