Skip to content

Commit 4706e1d

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

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

lib/matplotlib/axes/_subplots.py

+2
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

lib/matplotlib/backends/backend_pgf.py

+1
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ def __init__(self, figure, fh, dummy=False):
420420
"consider using the pgf-to-pdf option")
421421

422422
@cbook.deprecated("3.2")
423+
@property
423424
def latexManager(self):
424425
return self._latexManager
425426

0 commit comments

Comments
 (0)