plotly / plotly/plotly.py

allow points to be shown inside violin area

Open
#4,008 6 comments 1 reaction 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

One of my favorite types of plots to show distributions is to use Sina plots where the points are spread out within the area of the violin representing the density of the distribution. I then additionally overlay this with a boxplot as is already possible in plotly. So my questions/feature requests are then:

  1. Can the points of a violin plot be shown inside of the violin rather than next to it?
  2. Is it possible to have the points be spread out to the width of the violin as in the Sina plots?

Thank you for your consideration.

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 comparing the linked Plotly Python violin example with the linked ggforce geom_sina examples. Determine the scope of supporting points inside the violin and spreading them to its width, including compatibility with an overlaid boxplot; the issue names no repository files or tests, so completion criteria will need to be established first.

Written by the indexing model from the issue text.

Assessment

Tech stack
plotly, python
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.