8000 boxplot and violinplot faq entry · matplotlib/matplotlib@e1280e0 · GitHub
[go: up one dir, main page]

Skip to content

Commit e1280e0

Browse files
committed
boxplot and violinplot faq entry
1 parent 54826ca commit e1280e0

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

doc/.DS_Store

-2 KB
Binary file not shown.

doc/faq/howto_faq.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,18 @@ though we have made significant progress towards supporting blocking events.
478478
able to create new figures and raise them in a subsequent call to
479479
``show`` after closing the figures from a previous call to ``show``.
480480

481+
.. _howto-boxplot_violinplot:
482+
483+
Interpreting box plots and violin plots
484+
-----------------------------------
485+
486+
Tukey's `box plots <http://matplotlib.org/examples/pylab_examples/boxplot_demo.html>`_ (Robert McGill, John W. Tukey and Wayne A. Larsen: "The American Statistician" Vol. 32, No. 1, Feb., 1978, pp. 12-16) are statistical plots that provide useful information about the data distribution such as skewness. However, bar plots with error bars are still the common standard in most scientific literature, and thus, the interpretation of box plots can be challenging for the unfamiliar reader. The figure below illustrates the different visual features of a box plot.
487+
488+
.. figure:: ../_static/boxplot_explanation.png
489+
490+
`Violin plots <http://matplotlib.org/examples/statistics/violinplot_demo.html>`_ are closely related to box plots but add useful information such as the distribution of the sample data (density trace).
491+
Violin plots were added in matplotlib 1.4.
492+
481493

482494
.. _howto-contribute:
483495

0 commit comments

Comments
 (0)
0