From 96ac88fbdc302efe9bf2d1e8fef0289ecc872407 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Tue, 6 May 2025 09:45:14 +0100 Subject: [PATCH] Remove deprecated get_tick_iterator() --- doc/api/next_api_changes/removals/30014-DS.rst | 4 ++++ .../axisartist/grid_helper_curvelinear.py | 11 ----------- 2 files changed, 4 insertions(+), 11 deletions(-) create mode 100644 doc/api/next_api_changes/removals/30014-DS.rst diff --git a/doc/api/next_api_changes/removals/30014-DS.rst b/doc/api/next_api_changes/removals/30014-DS.rst new file mode 100644 index 000000000000..d13737f17e40 --- /dev/null +++ b/doc/api/next_api_changes/removals/30014-DS.rst @@ -0,0 +1,4 @@ +``GridHelperCurveLinear.get_tick_iterator`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +... is removed with no replacement. diff --git a/lib/mpl_toolkits/axisartist/grid_helper_curvelinear.py b/lib/mpl_toolkits/axisartist/grid_helper_curvelinear.py index 02c96d58b7f7..135677eb7c21 100644 --- a/lib/mpl_toolkits/axisartist/grid_helper_curvelinear.py +++ b/lib/mpl_toolkits/axisartist/grid_helper_curvelinear.py @@ -351,14 +351,3 @@ def get_gridlines(self, which="major", axis="both"): if axis in ["both", "y"]: grid_lines.extend([gl.T for gl in self._grid_info["lat"]["lines"]]) return grid_lines - - @_api.deprecated("3.9") - def get_tick_iterator(self, nth_coord, axis_side, minor=False): - angle_tangent = dict(left=90, right=90, bottom=0, top=0)[axis_side] - lon_or_lat = ["lon", "lat"][nth_coord] - if not minor: # major ticks - for tick in self._grid_info[lon_or_lat]["ticks"][axis_side]: - yield *tick["loc"], angle_tangent, tick["label"] - else: - for tick in self._grid_info[lon_or_lat]["ticks"][axis_side]: - yield *tick["loc"], angle_tangent, "" pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy