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

Skip to content

Commit 4801cbc

Browse files
committed
Skip extra Axis.cla in PolarAxes.__init__ also.
1 parent 72821af commit 4801cbc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/projections/polar.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,10 @@ def __init__(self, *args, **kwargs):
245245
If you need to interpolate data points, consider running
246246
cbook.simple_linear_interpolation on the data before passing to matplotlib.""")
247247
Axes.__init__(self, *args, **kwargs)
248+
self._in_init = True
248249
self.set_aspect('equal', adjustable='box', anchor='C')
249250
self.cla()
251+
self._in_init = False
250252
__init__.__doc__ = Axes.__init__.__doc__
251253

252254
def cla(self):

0 commit comments

Comments
 (0)