From 001fc6a3c7764688190add41f53044f62e772dfb Mon Sep 17 00:00:00 2001 From: Bruno Wolf Date: Thu, 8 May 2025 16:11:21 -0300 Subject: [PATCH] MAINT: Remove deprecated 'origin' and 'extent' parameters from tricontour --- lib/matplotlib/tri/_tricontour.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/matplotlib/tri/_tricontour.py b/lib/matplotlib/tri/_tricontour.py index 8250515f3ef8..7f7b28668ddb 100644 --- a/lib/matplotlib/tri/_tricontour.py +++ b/lib/matplotlib/tri/_tricontour.py @@ -1,5 +1,6 @@ import numpy as np +from matplotlib._api.deprecation import delete_parameter from matplotlib import _docstring from matplotlib.contour import ContourSet from matplotlib.tri._triangulation import Triangulation @@ -219,6 +220,9 @@ def _contour_args(self, args, kwargs): @_docstring.Substitution(func='tricontour', type='lines') @_docstring.interpd +@delete_parameter("3.9", "tricontour", "origin") +@delete_parameter("3.9", "tricontour", "extent") + def tricontour(ax, *args, **kwargs): """ %(_tricontour_doc)s