11``plt.subplot `` re-selection without keyword arguments
22~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
4- The purpose of `pyplot.subplot ` is to facilitate creating and
4+ The purpose of `. pyplot.subplot ` is to facilitate creating and
55re-selecting Axes in a Figure when working in the implicit pyplot API.
66When used to create Axes it is possible to select the projection
77(e.g. polar, 3D, or various cartographic projections) as well as to pass
88additional keyword arguments through to the Axes-subclass that is created.
99
10- The first time `pyplot.subplot ` is called for a given position in the
10+ The first time `. pyplot.subplot ` is called for a given position in the
1111Axes grid it is clear that the correct behavior is to create and
1212return an Axes at the given position with the passed arguments
1313(defaulting to a rectilinear Axes). However, on subsequent calls to
14- `pyplot.subplot ` the correct behavior is more subtle. If an Axes exists
14+ `. pyplot.subplot ` the correct behavior is more subtle. If an Axes exists
1515at the requested location and has equivalent parameters the existing Axes
1616should be returned, but if the parameters are different the old Axes is removed
1717from the Figure and a new Axes is created and returned.
@@ -24,7 +24,7 @@ if the projections were different. Thus ::
2424 ax1 is plt.subplots(1, 1, 1)
2525
2626We are embracing this long standing behavior and in the case when no keyword
27- arguments are passed to `pyplot.subplot ` and there is an existing Axes
27+ arguments are passed to `. pyplot.subplot ` and there is an existing Axes
2828at the grid position, the existing Axes is returned without consideration
2929of the keywords used to create the Axes.
3030
@@ -37,7 +37,7 @@ would return the existing Axes. Now this will replace the existing Axes
3737with a new rectilinear Axes. To get the previous behavior, do not pass
3838*projection *.
3939
40- Previously Axes3D could not be re-selected with `pyplot.subplot ` due
40+ Previously Axes3D could not be re-selected with `. pyplot.subplot ` due
4141to an unrelated bug. While Axes3D are now consistent with all other projections
4242there is a change in behavior for ::
4343
0 commit comments