Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit af19cb8

Browse files
committed
MNT: Remove deprecated axis.cla()
1 parent 65e9204 commit af19cb8

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``Axis.cla()`` has been removed
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
Use `.Axis.clear()` instead.

lib/matplotlib/axis.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -868,11 +868,6 @@ def clear(self):
868868
self.set_units(None)
869869
self.stale = True
870870

871-
@_api.deprecated("3.4", alternative="`.Axis.clear`")
872-
def cla(self):
873-
"""Clear this axis."""
874-
return self.clear()
875-
876871
def reset_ticks(self):
877872
"""
878873
Re-initialize the major and minor Tick lists.

0 commit comments

Comments
 (0)