Skip to content

Violin Plot (suggestion for new plot type) #1301

@bclehmann

Description

@bclehmann

Features Suggestion

Feature description: Add a new Violin plottable.
image

A violin plottable is like a box plot surrounded by a kernel density estimation (KDE), which is analogous to a histogram that has been smoothed. There are variants that stack multiple KDEs to represent data in different confidence intervals.

There are also variants that are asymmetrical, showing KDEs for two different categories. These can include the box plot in the middle if the box plot is for the whole set, but the box is often not shown.
image

I think this feature makes the most sense as an addition to population plots.

Code example: If applicable, use this space to demonstrate how you wish the new feature could be used in code.

var popPlot = plt.AddPopulations(multiSeries);
popPlot.Violin = true;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions