Skip to content

Commit

Permalink
Merge pull request #13370 from meeseeksmachine/auto-backport-of-pr-13…
Browse files Browse the repository at this point in the history
…367-on-v3.0.x

Backport PR #13367 on branch v3.0.x (DOC: fix note of what version hold was deprecated in (2.0 not 2.1))
  • Loading branch information
tacaswell committed Feb 5, 2019
2 parents de91bf7 + 2ed0a1d commit eb5303c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/api_changes.rst
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
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

0 comments on commit eb5303c

Please sign in to comment.