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

Plotly call completed; detecting mouse down and mouse up

I needed a way to know when a Plotly call was completed but found nothing about this in the documentation. I finally found the information in a link to this forum in 2015, “I want to show loading symbol while loading the graph”. This ought to be in the documentation.

On a related issue, I gather that there’s currently no way to detect mouse down and mouse up events, which are important for knowing that an associated animation should pause during that time. Is that a future possibility?

Suggestions on how to improve our official documentation can be made here:

Yes. We have an ongoing discussion on event improvements here: feel free to contribute with your ideas.