Showing data distribution in Matplotlib
Martin McBride, 2022-06-23
Tags bar style marker style
Distribution plots show how data values are distributed over a range. These include:
- Histograms, that show the overall distribution of some data, for example the distribution of daily temperatures over a year.
- Box plots, that show distribution of several related data series, for example the distribution of daily temperatures for each month in a year.
- Violin plots, that are similar to box plots but show more detailed information.
It is also possible to add error bars to line plots, scatter charts, or bar charts, to show distribution information.