diff --git a/doc/api/next_api_changes/removals/26909-VV.rst b/doc/api/next_api_changes/removals/26909-VV.rst new file mode 100644 index 000000000000..bdb815eed322 --- /dev/null +++ b/doc/api/next_api_changes/removals/26909-VV.rst @@ -0,0 +1,4 @@ +``matplotlib.tri`` submodules are removed +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +The ``matplotlib.tri.*`` submodules are removed. All functionality is +available in ``matplotlib.tri`` directly and should be imported from there. diff --git a/lib/matplotlib/tri/triangulation.py b/lib/matplotlib/tri/triangulation.py deleted file mode 100644 index c48b09b280ff..000000000000 --- a/lib/matplotlib/tri/triangulation.py +++ /dev/null @@ -1,9 +0,0 @@ -from ._triangulation import * # noqa: F401, F403 -from matplotlib import _api - - -_api.warn_deprecated( - "3.7", - message=f"Importing {__name__} was deprecated in Matplotlib 3.7 and will " - f"be removed two minor releases later. All functionality is " - f"available via the top-level module matplotlib.tri") diff --git a/lib/matplotlib/tri/tricontour.py b/lib/matplotlib/tri/tricontour.py deleted file mode 100644 index 37406451d376..000000000000 --- a/lib/matplotlib/tri/tricontour.py +++ /dev/null @@ -1,9 +0,0 @@ -from ._tricontour import * # noqa: F401, F403 -from matplotlib import _api - - -_api.warn_deprecated( - "3.7", - message=f"Importing {__name__} was deprecated in Matplotlib 3.7 and will " - f"be removed two minor releases later. All functionality is " - f"available via the top-level module matplotlib.tri") diff --git a/lib/matplotlib/tri/trifinder.py b/lib/matplotlib/tri/trifinder.py deleted file mode 100644 index 1aff5c9d3280..000000000000 --- a/lib/matplotlib/tri/trifinder.py +++ /dev/null @@ -1,9 +0,0 @@ -from ._trifinder import * # noqa: F401, F403 -from matplotlib import _api - - -_api.warn_deprecated( - "3.7", - message=f"Importing {__name__} was deprecated in Matplotlib 3.7 and will " - f"be removed two minor releases later. All functionality is " - f"available via the top-level module matplotlib.tri") diff --git a/lib/matplotlib/tri/triinterpolate.py b/lib/matplotlib/tri/triinterpolate.py deleted file mode 100644 index 3112bd38e6c6..000000000000 --- a/lib/matplotlib/tri/triinterpolate.py +++ /dev/null @@ -1,9 +0,0 @@ -from ._triinterpolate import * # noqa: F401, F403 -from matplotlib import _api - - -_api.warn_deprecated( - "3.7", - message=f"Importing {__name__} was deprecated in Matplotlib 3.7 and will " - f"be removed two minor releases later. All functionality is " - f"available via the top-level module matplotlib.tri") diff --git a/lib/matplotlib/tri/tripcolor.py b/lib/matplotlib/tri/tripcolor.py deleted file mode 100644 index 0da87891810d..000000000000 --- a/lib/matplotlib/tri/tripcolor.py +++ /dev/null @@ -1,9 +0,0 @@ -from ._tripcolor import * # noqa: F401, F403 -from matplotlib import _api - - -_api.warn_deprecated( - "3.7", - message=f"Importing {__name__} was deprecated in Matplotlib 3.7 and will " - f"be removed two minor releases later. All functionality is " - f"available via the top-level module matplotlib.tri") diff --git a/lib/matplotlib/tri/triplot.py b/lib/matplotlib/tri/triplot.py deleted file mode 100644 index 7c012b1a59e7..000000000000 --- a/lib/matplotlib/tri/triplot.py +++ /dev/null @@ -1,9 +0,0 @@ -from ._triplot import * # noqa: F401, F403 -from matplotlib import _api - - -_api.warn_deprecated( - "3.7", - message=f"Importing {__name__} was deprecated in Matplotlib 3.7 and will " - f"be removed two minor releases later. All functionality is " - f"available via the top-level module matplotlib.tri") diff --git a/lib/matplotlib/tri/trirefine.py b/lib/matplotlib/tri/trirefine.py deleted file mode 100644 index 6f22f9e8d203..000000000000 --- a/lib/matplotlib/tri/trirefine.py +++ /dev/null @@ -1,9 +0,0 @@ -from ._trirefine import * # noqa: F401, F403 -from matplotlib import _api - - -_api.warn_deprecated( - "3.7", - message=f"Importing {__name__} was deprecated in Matplotlib 3.7 and will " - f"be removed two minor releases later. All functionality is " - f"available via the top-level module matplotlib.tri") diff --git a/lib/matplotlib/tri/tritools.py b/lib/matplotlib/tri/tritools.py deleted file mode 100644 index 9c6839ca2049..000000000000 --- a/lib/matplotlib/tri/tritools.py +++ /dev/null @@ -1,9 +0,0 @@ -from ._tritools import * # noqa: F401, F403 -from matplotlib import _api - - -_api.warn_deprecated( - "3.7", - message=f"Importing {__name__} was deprecated in Matplotlib 3.7 and will " - f"be removed two minor releases later. All functionality is " - f"available via the top-level module matplotlib.tri")
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: