plotly / plotly/plotly.py

Violin scalemode has no effect

Open
#3,619 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I have set up the violin scalemode to "width" but the width of the individual distributions are clearly not all equal, even though it should be according to he documentation of plotly.graph_objects.Violin

violin

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 the Violin documentation linked in the issue and reproduce the reported scalemode="width" behavior using the attached example or an equivalent minimal case. Trace how violin width scaling is handled and verify the fix by confirming that individual distributions have equal widths when this mode is selected.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.