Separate Animations and Slider Data in One Plots


#1

Is it possible to have animation frames completely different data and type from slider traces? I can make both of them separately and they work but then I put them together it animations don’t work. The selected trace from slider just blink as if they’re updating but don’t change.

I’m pretty much following the example graphs. Would love for a simple example or guide.


#2

Hi @lordlycastle,

Here’s an example of a slider invoking animated transitions between frames (https://plot.ly/python/animations/#using-a-slider-and-buttons).

Hope that helps!
-Jon


#3

Already seen that. That’s not what I want. I want separate data for animations and sliders.


#4

I don’t think you’ll be able to do this with the built in sliders and animation frames. You could take a look at using FigureWidget+ipywidgets if you’re working in the Jupyter Notebook (See “Context Manager for Animations” section at https://medium.com/@plotlygraphs/introducing-plotly-py-3-0-0-7bb1333f69c6) or Dash if you want a stand alone web app (See 📣 Exploring a "Transitions" API for dcc.Graph for initial work on adding animated transitions to Dash).

-Jon