-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
P1needed for current cycleneeded for current cycleP2considered for next cycleconsidered for next cyclecommunitycommunity contributioncommunity contributionfeaturesomething newsomething new
Description
A lot of modern JS charting libraries support intro animations like these:
Screen.Recording.2025-05-19.at.2.02.10.PM.mov
I love using Plotly as a Pythonista and would like to make it look modern and fancy like the other charting libraries.
Does plotly have intro animations out of the box? If not, would this be relatively simple for me to add as a contributor to plotly.js? I am pretty proficient with javascript and can help.
My thought was to add this to the basic charts like go.Bar
go.Pie
& go.Scatter
with a flag like enable_intro_anims
so users can enable/disable them as per their choice.
I asked cursor to give me some sample code for how this can be done, and it looks like Plotly.animate
can achieve this!
Screen.Recording.2025-05-19.at.2.28.48.PM.mov
Here's the code - https://jsfiddle.net/am6914fb/5/
Metadata
Metadata
Assignees
Labels
P1needed for current cycleneeded for current cycleP2considered for next cycleconsidered for next cyclecommunitycommunity contributioncommunity contributionfeaturesomething newsomething new