Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 242ecac

Browse files
committed
Fixed a typo ane expanded whats_new.rst on stacked histogram
1 parent 77c5978 commit 242ecac

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

doc/users/whats_new.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,12 @@ local intensity of the vector field.
131131
New hist functionality
132132
----------------------
133133

134-
Nic Eggert added a new `stack kwarg to :meth:`~matplotlib.pyplot.hist` that
134+
Nic Eggert added a new `stacked` kwarg to :meth:`~matplotlib.pyplot.hist` that
135135
allows creation of stacked histograms using any of the histogram types.
136136
Previously, this functionality was only available by using the `barstacked`
137137
histogram type. Now, when `stacked=True` is passed to the function, any of the
138-
histogram types can be stacked.
138+
histogram types can be stacked. The `barstacked` histogram type retains its
139+
previous functionality for backwards compatibility.
139140

140141
Updated shipped dependencies
141142
----------------------------

0 commit comments

Comments
 (0)