Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1697e3e

Browse files
dstansbyMeeseeksDev[bot]
authored and
MeeseeksDev[bot]
committed
Backport PR#13367: DOC: fix note of what version hold was deprecated in (2.0 not 2.1)
1 parente122275 commit1697e3e

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)

[8]ページ先頭

©2009-2025 Movatter.jp