Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d63a18a

Browse filesBrowse files
committed
DOC: fix xrefs
1 parent c25aac5 commit d63a18a
Copy full SHA for d63a18a

File tree

Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed

‎doc/api/next_api_changes/behavior/19438-TAC.rst

Copy file name to clipboardExpand all lines: doc/api/next_api_changes/behavior/19438-TAC.rst
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
``plt.subplot`` re-selection without keyword arguments
2-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33

4-
The purpose of `pyplot.subplot` is to facilitate creating and
4+
The purpose of `.pyplot.subplot` is to facilitate creating and
55
re-selecting Axes in a Figure when working in the implicit pyplot API.
66
When 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
88
additional 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
1111
Axes grid it is clear that the correct behavior is to create and
1212
return 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
1515
at the requested location and has equivalent parameters the existing Axes
1616
should be returned, but if the parameters are different the old Axes is removed
1717
from 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

2626
We 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
2828
at the grid position, the existing Axes is returned without consideration
2929
of the keywords used to create the Axes.
3030

@@ -37,7 +37,7 @@ would return the existing Axes. Now this will replace the existing Axes
3737
with 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
4141
to an unrelated bug. While Axes3D are now consistent with all other projections
4242
there is a change in behavior for ::
4343

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.