Skip to content

Commit bf8d1bc

Browse files
committed
whats_new: a note about the changed examples
1 parent a623ff3 commit bf8d1bc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/users/whats_new.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ Andrew Dawson added a new keyword argument *extendrect* to
3333
:meth:`~matplotlib.pyplot.colorbar` to optionally make colorbar
3434
extensions rectangular instead of triangular.
3535

36+
Examples now use subplots()
37+
---------------------------
38+
For the sake of brevity and clarity, most of the :ref:`examples
39+
<examples-index>` now use the newer :func:`~matplotlib.pyplot.subplots`
40+
, which creates a figure and one (or multiple) axes object(s) in one
41+
call. The old way involved a call to :func:`~matplotlib.pyplot.figure`,
42+
followed by one (or multiple) :func:`~matplotlib.pyplot.subplot` calls.
43+
3644
Calling subplot() without arguments
3745
-----------------------------------
3846
A call to :func:`~matplotlib.pyplot.subplot` without any arguments now

0 commit comments

Comments
 (0)