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 }