Hello there! I’ve been trying to figure out how to use plotly.express’s “animation_frame” argument to create a pie chart with a slider that changes the threshold for plotted values. Right now, the only solution I can come up with is to copy and append rows to the dataframe according to whether they’re above each threshold value…seems clunky.
The other method I found is using graphical objects in regular plotly: https://plotly.com/python/sliders/. But just wondering if I’m missing something in the plotly.express documentation that might make it more simple.