plotly / plotly/plotly.js

Add `line.shape: 'spline'` support to scattergl

Open Beginner friendly
#3,229 12 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature good for agent P2 size: 3
Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
2d 12h
Merged PRs (30d)
28

Description

It looks like "spline" is missing from the ScatterGL attributes file for line shape options: https://github.com/plotly/plotly.js/blob/master/src/traces/scattergl/attributes.js#L51

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 with src/traces/scattergl/attributes.js at the line-shape options referenced in the issue. Confirm how the existing options are declared and add support for the requested spline shape there. Done means scattergl exposes line.shape: 'spline' as a valid option; verify the change with the project's relevant checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Feature
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.