Black Lives Matter. Please consider donating to Black Girls Code today.
Learn about the upcoming Dash Enterprise 4.0 release in the August 5th webinar with Chris Parmer, the Inventor of Dash.

How to Get Current Frame in an Animated Plot


Is there any way to get the current frame from an animated plot?

I know that

graph.on('plotly_afterplot', function() {}

runs after each frame updates the chart, but I would really like to capture frame name and data after a redraw.

I am doing this on the client side to build some interactivity with the plots in our use case.