Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add intro animations to basic plotly charts #7422

Copy link
Copy link
Open
@devxpy

Description

@devxpy
Issue body actions

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

No one assigned

    Labels

    P1needed for current cycleneeded for current cyclecommunitycommunity contributioncommunity contributionfeaturesomething newsomething new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.