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

Skip to content

Commit 5d37fd2

Browse files
authored
Merge pull request #13371 from meeseeksmachine/auto-backport-of-pr-13367-on-v3.0.2-doc
Backport PR #13367 on branch v3.0.2-doc (DOC: fix note of what version hold was deprecated in (2.0 not 2.1))
2 parents e122275 + 1697e3e commit 5d37fd2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

doc/api/api_changes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ API Changes for 3.0.1
4242
`.tight_layout.auto_adjust_subplotpars` can return ``None`` now if the new
4343
subplotparams will collapse axes to zero width or height. This prevents
4444
``tight_layout`` from being executed. Similarly
45-
`.tight_layout.get_tight_layout_figure` will return None.
45+
`.tight_layout.get_tight_layout_figure` will return None.
4646

4747
API Changes for 3.0.0
4848
=====================
@@ -514,7 +514,7 @@ Removals
514514
Hold machinery
515515
``````````````
516516

517-
Setting or unsetting ``hold`` (deprecated in version 2.1) has now
517+
Setting or unsetting ``hold`` (:ref:`deprecated in version 2.0<v200_deprecate_hold>`) has now
518518
been completely removed. Matplotlib now always behaves as if ``hold=True``.
519519
To clear an axes you can manually use :meth:`~.axes.Axes.cla()`,
520520
or to clear an entire figure use :meth:`~.figure.Figure.clf()`.

doc/api/prev_api_changes/api_changes_2.0.0.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ The TkAgg backend had its own implementation of the `round` function. This
3434
was unused internally and has been removed. Instead, use either the
3535
`round` builtin function or `numpy.round`.
3636

37+
.. _v200_deprecate_hold:
38+
3739
'hold' functionality deprecated
3840
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3941
The 'hold' keyword argument and all functions and methods related

0 commit comments

Comments
 (0)