8000 MNT: Remove deprecated axis.cla() by greglucas · Pull Request #23078 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion doc/api/axis_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ Inheritance
:nosignatures:

Axis.clear
Axis.cla
Axis.get_scale


Expand Down
4 changes: 4 additions & 0 deletions doc/api/next_api_changes/removals/23078-GL.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
``Axis.cla()`` has been removed
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Use `.Axis.clear()` instead.
5 changes: 0 additions & 5 deletions lib/matplotlib/axis.py
Original file line number Diff line number Diff line change
Expand Up @@ -868,11 +868,6 @@ def clear(self):
self.set_units(None)
self.stale = True

@_api.deprecated("3.4", alternative="`.Axis.clear`")
def cla(self):
"""Clear this axis."""
return self.clear()

def reset_ticks(self):
"""
Re-initialize the major and minor Tick lists.
Expand Down
0