plotly / plotly/plotly.py

Add Animation Support for go.Sankey Plots Similar to go.Scatter and go.Bar

Open
#4,620 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature P3
Dominant language
Python
Stars
18.8k
Forks
2.8k
Avg merge
16h 26m
Merged PRs (30d)
21

Description

Description

I would like to request the addition of animation support for go.Sankey plots, similar to the functionality available in go.Scatter and go.Bar.

Expected Outcome

The go.Sankey plot should have a parameter in the layout for animations, similar to the updatemenus feature. An example of the desired configuration is shown below:

"updatemenus": [{
    "type": "buttons",
    "buttons": [{
        "label": "Your Label",
        "method": "animate",
        "args": [/* Animation arguments here */]
    }]
}]

This feature would allow users to add animations to go.Sankey plots, enhancing their interactivity and visual appeal.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the existing animation support for go.Scatter and go.Bar with the go.Sankey entry point, focusing on how layout updatemenus and the animate method are exposed. Done means go.Sankey accepts the equivalent animation configuration and a regression test or example demonstrates the requested buttons and animation arguments.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.