Black Lives Matter. Please consider donating to Black Girls Code today.

[Resolved] Plotly and Async


Does Plotly.js use asynchronous functions?

I haven’t been able to find anything in the docs

Plotly.toImage and Plotly.downloadImage are async except with option {format: 'svg'}.

Plotly.newPlot, Plotly.restyle, Plotly.relayout and Plotly.react are in general async, but more often than not aren’t. The only async behavior comes from fetching topojson/tiles data (for geo and mapbox traces) and rendering MathJax in text labels.

1 Like