@@ -1288,6 +1288,10 @@ def add_subplot(self, *args, **kwargs):
1288
1288
1289
1289
If no positional arguments are passed, defaults to (1, 1, 1).
1290
1290
1291
+ In rare circumstances, `.add_subplot` may be called with a single
1292
+ argument, a subplot axes instance already created in the
1293
+ present figure but not in the figure's list of axes.
1294
+
1291
1295
projection : {None, 'aitoff', 'hammer', 'lambert', 'mollweide', \
1292
1296
'polar', 'rectilinear', str}, optional
1293
1297
The projection type of the subplot (`~.axes.Axes`). *str* is the
@@ -1317,8 +1321,7 @@ def add_subplot(self, *args, **kwargs):
1317
1321
1318
1322
Returns
1319
1323
-------
1320
- axes : an `.axes.SubplotBase` subclass of `~.axes.Axes` (or a \
1321
- subclass of `~.axes.Axes`)
1324
+ axes : `.axes.SubplotBase`, or another subclass of `~.axes.Axes`
1322
1325
1323
1326
The axes of the subplot. The returned axes base class depends on
1324
1327
the projection used. It is `~.axes.Axes` if rectilinear projection
@@ -1337,10 +1340,6 @@ def add_subplot(self, *args, **kwargs):
1337
1340
two subplots that are otherwise identical to be added to the figure,
1338
1341
make sure you give them unique labels.
1339
1342
1340
- In rare circumstances, `.add_subplot` may be called with a single
1341
- argument, a subplot axes instance already created in the
1342
- present figure but not in the figure's list of axes.
1343
-
1344
1343
See Also
1345
1344
--------
1346
1345
.Figure.add_axes
0 commit comments