fix: make plotly dynamically change on layout change

This commit is contained in:
Ruben Fiszel
2023-08-02 19:53:47 +02:00
parent a4464b74ad
commit 0995f8eeca
@@ -47,7 +47,15 @@
shouldeUpdate++
})
$: Plotly && render && result && divEl && h && w && shouldeUpdate && plot()
$: Plotly &&
render &&
result &&
resolvedConfig.layout &&
divEl &&
h &&
w &&
shouldeUpdate &&
plot()
let error = ''
function plot() {