8000 Merge pull request #16866 from anntzer/dep · matplotlib/matplotlib@373b09a · GitHub
[go: up one dir, main page]

Skip to content

Commit 373b09a

Browse files
authored
Merge pull request #16866 from anntzer/dep
Cleanup/update deprecations.
2 parents ef9fc20 + 66d4772 commit 373b09a

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

doc/api/next_api_changes/deprecations.rst

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -227,19 +227,9 @@ The following validators, defined in `.rcsetup`, are deprecated:
227227
``validate_axes_titlelocation``, ``validate_toolbar``,
228228
``validate_ps_papersize``, ``validate_legend_loc``,
229229
``validate_bool_maybe_none``, ``validate_hinting``,
230-
``validate_movie_writers``.
230+
``validate_movie_writers``, ``validate_webagg_address``.
231231
To test whether an rcParam value would be acceptable, one can test e.g. ``rc =
232232
RcParams(); rc[k] = v`` raises an exception.
233-
||||||| constructed merge base
234-
``validate_ps_papersize``, ``validate_legend_log``. To test whether an rcParam
235-
value would be acceptable, one can test e.g. ``rc = RcParams(); rc[k] = v``
236-
raises an exception.
237-
=======
238-
``validate_ps_papersize``, ``validate_legend_loc``,
239-
``validate_webagg_address``.
240-
To test whether an rcParam value would be acceptable, one can test e.g. ``rc =
241-
RcParams(); rc[k] = v`` raises an exception.
242-
>>>>>>> Deprecate validate_webagg_address.
243233

244234
Stricter rcParam validation
245235
~~~~~~~~~~~~~~~~~~~~~~~~~~~

lib/matplotlib/bezier.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ def make_wedged_bezier2(bezier2, width, w1=1., wm=0.5, w2=0.):
481481

482482

483483
@cbook.deprecated(
484-
"3.2", alternative="Path.cleaned() and remove the final STOP if needed")
484+
"3.3", alternative="Path.cleaned() and remove the final STOP if needed")
485485
def make_path_regular(p):
486486
"""
487487
If the ``codes`` attribute of `.Path` *p* is None, return a copy of *p*
@@ -497,7 +497,7 @@ def make_path_regular(p):
497497
return p
498498

499499

500-
@cbook.deprecated("3.2", alternative="Path.make_compound_path()")
500+
@cbook.deprecated("3.3", alternative="Path.make_compound_path()")
501501
def concatenate_paths(paths):
502502
"""Concatenate a list of paths into a single path."""
503503
vertices = np.concatenate([p.vertices for p in paths])

0 commit comments

Comments
 (0)
0