mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-17 13:50:04 +01:00
passing tests and displaying titles in web UI
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user