Skip to content

Commit 35976c9

Browse files
authored
Merge pull request matplotlib#30014 from dstansby/rm-tick-iterator
Remove deprecated get_tick_iterator()
2 parents 2366f57 + 96ac88f commit 35976c9

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``GridHelperCurveLinear.get_tick_iterator``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
... is removed with no replacement.

lib/mpl_toolkits/axisartist/grid_helper_curvelinear.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -351,14 +351,3 @@ def get_gridlines(self, which="major", axis="both"):
351351
if axis in ["both", "y"]:
352352
grid_lines.extend([gl.T for gl in self._grid_info["lat"]["lines"]])
353353
return grid_lines
354-
355-
@_api.deprecated("3.9")
356-
def get_tick_iterator(self, nth_coord, axis_side, minor=False):
357-
angle_tangent = dict(left=90, right=90, bottom=0, top=0)[axis_side]
358-
lon_or_lat = ["lon", "lat"][nth_coord]
359-
if not minor: # major ticks
360-
for tick in self._grid_info[lon_or_lat]["ticks"][axis_side]:
361-
yield *tick["loc"], angle_tangent, tick["label"]
362-
else:
363-
for tick in self._grid_info[lon_or_lat]["ticks"][axis_side]:
364-
yield *tick["loc"], angle_tangent, ""

0 commit comments

Comments
 (0)
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