From 7e0ea29fb4408e34375aca93eab85a5a63d2589d Mon Sep 17 00:00:00 2001 From: James Bradbury Date: Mon, 15 Nov 2021 10:10:14 +0000 Subject: [PATCH] reset points if dict is successfully parsed --- jsui/fluid.plotter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/jsui/fluid.plotter.js b/jsui/fluid.plotter.js index f596c0c20..c1e4e1e38 100644 --- a/jsui/fluid.plotter.js +++ b/jsui/fluid.plotter.js @@ -141,6 +141,7 @@ function setdict(name) { fail = true; } if (!fail) { + points = {}; var rawData = JSON.parse(dataDict.stringify()).data; Object.keys(rawData).forEach(function(pt) { points[pt] = {