Skip to content

Navigation Menu

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 35976c9

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

File tree

2 files changed

+4
-11
lines changed
Filter options

2 files changed

+4
-11
lines changed
+4Lines 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

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/axisartist/grid_helper_curvelinear.py
-11Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.