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

Skip to content

Backport PR #13367 on branch v3.0.x (DOC: fix note of what version hold was deprecated in (2.0 not 2.1)) #13370

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/api/api_changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ API Changes for 3.0.1
`.tight_layout.auto_adjust_subplotpars` can return ``None`` now if the new
subplotparams will collapse axes to zero width or height. This prevents
``tight_layout`` from being executed. Similarly
`.tight_layout.get_tight_layout_figure` will return None.
`.tight_layout.get_tight_layout_figure` will return None.

API Changes for 3.0.0
=====================
Expand Down Expand Up @@ -514,7 +514,7 @@ Removals
Hold machinery
``````````````

Setting or unsetting ``hold`` (deprecated in version 2.1) has now
Setting or unsetting ``hold`` (:ref:`deprecated in version 2.0<v200_deprecate_hold>`) has now
been completely removed. Matplotlib now always behaves as if ``hold=True``.
To clear an axes you can manually use :meth:`~.axes.Axes.cla()`,
or to clear an entire figure use :meth:`~.figure.Figure.clf()`.
Expand Down
2 changes: 2 additions & 0 deletions doc/api/prev_api_changes/api_changes_2.0.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ The TkAgg backend had its own implementation of the `round` function. This
was unused internally and has been removed. Instead, use either the
`round` builtin function or `numpy.round`.

.. _v200_deprecate_hold:

'hold' functionality deprecated
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The 'hold' keyword argument and all functions and methods related
Expand Down