From 82eed33aa202cf50aa30de02e86272e6542d7593 Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Wed, 20 Mar 2024 22:59:42 -0300 Subject: [PATCH] Plotly: do not double-evaluate --- src/components/Plotly.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Plotly.vue b/src/components/Plotly.vue index ee18a27..ce37447 100644 --- a/src/components/Plotly.vue +++ b/src/components/Plotly.vue @@ -703,7 +703,7 @@ export default { try { const val = f(vals) if (val !== null) { - y.push(f(vals)) + y.push(val) } } catch (e) { return { error: e }