8000 Remove deprecated get_tick_iterator() · matplotlib/matplotlib@96ac88f · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 96ac88f

Browse files
committed
Remove deprecated get_tick_iterator()
1 parent ab102c0 commit 96ac88f

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