@@ -1281,6 +1281,10 @@ def add_subplot(self, *args, **kwargs):
1281
1281
1282
1282
If no positional arguments are passed, defaults to (1, 1, 1).
1283
1283
1284
+ In rare circumstances, `.add_subplot` may be called with a single
1285
+ argument, a subplot axes instance already created in the
1286
+ present figure but not in the figure's list of axes.
1287
+
1284
1288
projection : {None, 'aitoff', 'hammer', 'lambert', 'mollweide', \
1285
1289
'polar', 'rectilinear', str}, optional
1286
1290
The projection type of the subplot (`~.axes.Axes`). *str* is the
@@ -1310,8 +1314,7 @@ def add_subplot(self, *args, **kwargs):
1310
1314
1311
1315
Returns
1312
1316
-------
1313
- axes : an `.axes.SubplotBase` subclass of `~.axes.Axes` (or a \
1314
- subclass of `~.axes.Axes`)
1317
+ axes : `.axes.SubplotBase`, or another subclass of `~.axes.Axes`
1315
1318
1316
1319
The axes of the subplot. The returned axes base class depends on
1317
1320
the projection used. It is `~.axes.Axes` if rectilinear projection
@@ -1330,10 +1333,6 @@ def add_subplot(self, *args, **kwargs):
1330
1333
two subplots that are otherwise identical to be added to the figure,
1331
1334
make sure you give them unique labels.
1332
1335
1333
- In rare circumstances, `.add_subplot` may be called with a single
1334
- argument, a subplot axes instance already created in the
1335
- present figure but not in the figure's list of axes.
1336
-
1337
1336
See Also
1338
1337
--------
1339
1338
.Figure.add_axes
0 commit comments