Skip to content

Commit

Permalink
Plotly: do not double-evaluate
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani committed Mar 21, 2024
1 parent 5fa8851 commit 82eed33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Plotly.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 82eed33

Please sign in to comment.