Skip to content

dmey/extended-boxplots

Repository files navigation

Extended BoxPlots PyPI version

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

Installation

pip install Extended-BoxPlots

Example use

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

Versioning

This project uses semantic versioning.

Copyright and licence

Copyright 2018 D. Meyer. Licensed under MIT.

About

Generator of extended box plots

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages