TinoGehlert / md_plot

Draws a mirrored density plot for each input column
GNU General Public License v3.0
2 stars 1 forks source link

Mirrored Density Plot - MD-Plot

Documentation Status

What is it

This function creates a MD-plot for each column of the dataframe. The MD-plot is a visualization for a boxplot-like Shape of the PDF published in [Thrun/Ultsch, 2019]. It is an improvement of violin or so-called bean plots and posses advantages in comparison to the conventional well-known box plot [Thrun/Ultsch, 2019]. This is the Python implementation of the function MD-Plot contained in R package DataVisualizations

Where to get it

The source code is hosted on GitHub at: https://github.com/TinoGehlert/md_plot

pip install md_plot

Basic Usage

from md_plot import MDplot, load_examples

dctExamples = load_examples()

MDplot(dctExamples["BimodalArtificial"])

Dependencies

Windows users of Anaconda distribution should update numpy, scipy and matplotlib via conda instead of pip.