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.


1 Like

I know it’s been a while but did you ever figure out how to do this? Been stumped for the past day on what to do

1 Like