Box plot vs. violin plot comparison
Note that although violin plots are closely related to Tukey's (1977) box plots, they add useful information such as the distribution of the sample data (density trace).
By default, box plots show data points outside 1.5 * the inter-quartile range as outliers above or below the whiskers whereas violin plots show the whole range of the data.
A good general reference on boxplots and their history can be found here: https://vita.had.co.nz/papers/boxplots.pdf
Violin plots require matplotlib >= 1.4.
Violin plots show the distribution of the data as a rotated kernel density estimate (KDE) along with summary statistics similar to a box plot.
For more information on violin plots, see: https://en.wikipedia.org/wiki/Violin_plot
import matplotlib.pyplot as plt
import numpy
