plotly / plotly/plotly.js

enable setting dash attribute for error_x and error_y

Open
#6,772 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature P3
Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
2d 12h
Merged PRs (30d)
28

Description

When plotting error bars using error_x or error_y, it would be great if you could set the dash attribute as well. Currently you can set the color attribute, but the dash is fixed to "solid".

That can lead to inconsistent plots where line types are dotted/dashed but corresponding error bars are solid.

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 locating the plotly.js rendering path for error_x and error_y and the code that currently fixes their dash to "solid". Trace how the existing color attribute is handled, then confirm that error bars can use the requested dash setting and that plots no longer mismatch their corresponding line types.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.