From c43aea6d513c90ad02d3f685b78b5e71c1e0742e Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Thu, 13 Feb 2020 08:55:08 -0800 Subject: [PATCH] Backport PR #16480: Re-phrase doc for bottom kwarg to hist --- lib/matplotlib/axes/_axes.py | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index 9e86fe7b8cfa..955302d67edd 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -6446,15 +6446,12 @@ def hist(self, x, bins=None, range=None, density=False, weights=None, ``True``, then the histogram is normalized such that the first bin equals 1. - Default is ``False`` - - bottom : array-like, scalar, or None - Location of the bottom baseline of each bin. If a scalar, - the base line for each bin is shifted by the same amount. - If an array, each bin is shifted independently and the length - of bottom must match the number of bins. If None, defaults to 0. - - Default is ``None`` + bottom : array-like, scalar, or None, default: None + Location of the bottom of each bin, ie. bins are drawn from + ``bottom`` to ``bottom + hist(x, bins)`` If a scalar, the bottom + of each bin is shifted by the same amount. If an array, each bin + is shifted independently and the length of bottom must match the + number of bins. If None, defaults to 0. histtype : {'bar', 'barstacked', 'step', 'stepfilled'}, optional The type of histogram to draw.