Skip to content

Commit e0ddd51

Browse files
committed
Fix deprecation from #13544
1 parent af49c1b commit e0ddd51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/axes/_subplots.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,12 @@ def update_params(self):
9696
return_all=True)
9797

9898
@cbook.deprecated("3.2", alternative="ax.get_subplotspec().rowspan.start")
99+
@property
99100
def rowNum(self):
100101
return self.get_subplotspec().rowspan.start
101102

102103
@cbook.deprecated("3.2", alternative="ax.get_subplotspec().colspan.start")
104+
@property
103105
def colNum(self):
104106
return self.get_subplotspec().colspan.start
105107

0 commit comments

Comments
 (0)