An open API service indexing awesome lists of open source software.

https://github.com/dmey/extended-boxplots

Generator of extended box plots
https://github.com/dmey/extended-boxplots

box-plots python statistics

Last synced: 3 months ago
JSON representation

Generator of extended box plots

Awesome Lists containing this project

README

          

# Extended BoxPlots [![PyPI version](https://badge.fury.io/py/Extended-BoxPlots.svg)](https://badge.fury.io/py/Extended-BoxPlots)

Extended box plot are customizable box plots drawn for a set of percentile pairs (c.f. p. 31 in [Harrell Jr (2014)][1]).

## Installation

```
pip install Extended-BoxPlots
```

## Example use

```py
import numpy as np
import matplotlib.pyplot as plt

from extended_boxplots import compute_extended_boxplot_stats, plot_extended_boxplot

# Create sample normal distribution
dist_norm = np.random.normal(100, 30, 100000)

# Compute extended box plot statistics
boxplot_stats = compute_extended_boxplot_stats(dist_norm)

# Plot the extended box plot
fig, ax = plt.subplots()
plot_extended_boxplot(ax, [boxplot_stats])
fig.savefig('extended_boxplot.svg', dpi=200)
```

![Example extended box plot](https://raw.githubusercontent.com/dmey/extended-boxplots/master/images/extended_boxplot.png)

## Versioning

This project uses [semantic versioning](https://semver.org/).

## Copyright and licence

Copyright 2018 D. Meyer. Licensed under [MIT](https://github.com/dmey/extended-boxplots/blob/master/LICENSE.txt).

[1]: http://biostat.mc.vanderbilt.edu/wiki/pub/Main/StatGraphCourse/graphscourse.pdf