Skip to content
Closed
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
9 changes: 4 additions & 5 deletions doc/api/next_api_changes/removals/00001-ABC.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Removal change template
~~~~~~~~~~~~~~~~~~~~~~~
_api.warn_deprecated is updated
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Enter description of methods/classes removed here....
... In the ``lib/matplotlib/tri/`` directory.

Please rename file with PR number and your initials i.e. "99999-ABC.rst"
and ``git add`` the new file.
All files with _api.warn_deprecated is replaced with ValueError.
8 changes: 1 addition & 7 deletions lib/matplotlib/tri/triangulation.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
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")
raise ValueError(f"Importing {__name__} was deprecated in Matplotlib 3.7 and will be removed two minor releases later. All functionality is available via the top-level module matplotlib.tri")
8 changes: 1 addition & 7 deletions lib/matplotlib/tri/tricontour.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
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")
raise ValueError(f"Importing {__name__} was deprecated in Matplotlib 3.7 and will be removed two minor releases later. All functionality is available via the top-level module matplotlib.tri")
8 changes: 1 addition & 7 deletions lib/matplotlib/tri/trifinder.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
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")
raise ValueError(f"Importing {__name__} was deprecated in Matplotlib 3.7 and will be removed two minor releases later. All functionality is available via the top-level module matplotlib.tri")
8 changes: 1 addition & 7 deletions lib/matplotlib/tri/triinterpolate.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
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")
raise ValueError(f"Importing {__name__} was deprecated in Matplotlib 3.7 and will be removed two minor releases later. All functionality is available via the top-level module matplotlib.tri")
8 changes: 1 addition & 7 deletions lib/matplotlib/tri/tripcolor.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
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")
raise ValueError(f"Importing {__name__} was deprecated in Matplotlib 3.7 and will be removed two minor releases later. All functionality is available via the top-level module matplotlib.tri")
8 changes: 1 addition & 7 deletions lib/matplotlib/tri/triplot.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
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")
raise ValueError(f"Importing {__name__} was deprecated in Matplotlib 3.7 and will be removed two minor releases later. All functionality is available via the top-level module matplotlib.tri")
8 changes: 1 addition & 7 deletions lib/matplotlib/tri/trirefine.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
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")
raise ValueError(f"Importing {__name__} was deprecated in Matplotlib 3.7 and will be removed two minor releases later. All functionality is available via the top-level module matplotlib.tri")
8 changes: 1 addition & 7 deletions lib/matplotlib/tri/tritools.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
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")
raise ValueError(f"Importing {__name__} was deprecated in Matplotlib 3.7 and will be removed two minor releases later. All functionality is available via the top-level module matplotlib.tri")