plotly / plotly/plotly.js

Polar plots force directional theta (prevents creation of loops)

Open
#7,537 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Unless I am missing something simple, it appears that polar scatter plots do not allow the creation of loops created absolute theta values change direction. In this image I have 100 polar coordinates plotted in matplotlib (left) and the same 100 coordinates using plotlyjs. The initial arc is correct, but a soon as that theta changes directions it no longer plots correctly.

Image

I do hope I am missing something simple here,

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 file, test, or entry point is named. Start by reproducing the attached polar scatter comparison with absolute theta values that change direction, then trace the polar scatter rendering path. Done means polar plots preserve the supplied point order and display loops when theta reverses, with regression coverage for that case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.