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

Appearance settings

Commit 3930b09

Browse filesBrowse files
authored
Merge pull request #13367 from tacaswell/doc_fix_hold_refernce
DOC: fix note of what version hold was deprecated in (2.0 not 2.1)
2 parents b262ed5 + 0505b9a commit 3930b09
Copy full SHA for 3930b09

File tree

Expand file treeCollapse file tree

2 files changed

+4
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-2
lines changed

‎doc/api/api_changes.rst

Copy file name to clipboardExpand all lines: doc/api/api_changes.rst
+2-2Lines 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

Copy file name to clipboardExpand all lines: doc/api/prev_api_changes/api_changes_2.0.0.rst
+2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.