Merge pull request #947 from c-bata/fix-backend-parallel-coordinate

Avoid crushing on Chrome v128 when using plotlypy mode
This commit is contained in:
c-bata
2024-08-28 17:36:54 +09:00
committed by GitHub
@@ -39,7 +39,11 @@ const GraphParallelCoordinateBackend: FC<{
useEffect(() => {
if (data && layout && graphComponentState !== "componentWillMount") {
plotly.react(plotDomId, data, layout).then(notifyGraphDidRender)
try {
plotly.react(plotDomId, data, layout).then(notifyGraphDidRender)
} catch (err) {
console.error(err)
}
}
}, [data, layout, graphComponentState])
useEffect(() => {