plotly / plotly/plotly.py

Add gradient or transparency changes for line objects

Open
#4,928 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

I think this would be a great addition, as allows further customization in data viewing. For example, in my application I need to display strain and other variables during charging and discharging cycles of a battery, and in my current plot the starting and ending point are not distinguishable as I'm using different colors for different variables, different shades for different cycles, and different dash styles for different channels. I would like the ability to have a gradient or a transparency based on another variable (in my case timestamps) to allow additional data to be shown., also with different RGBA values for starting and ending point.

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

No files, tests, or entry points are identified in the issue. Start by locating the line-object API and its existing color handling, then clarify how gradients or transparency should be driven by another variable and what RGBA values define the endpoints before determining the required tests.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.