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 f35e638

Browse filesBrowse files
committed
Remove deprecated get_tick_iterator()
1 parent ab102c0 commit f35e638
Copy full SHA for f35e638

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.