Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit2e67a84

Browse files
committed
Some manual fixes.
1 parented26fca commit2e67a84

File tree

5 files changed

+18
-23
lines changed

5 files changed

+18
-23
lines changed

‎examples/color/color_cycler.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@
88
99
This example demonstrates two different APIs:
1010
11-
1. Setting the default
12-
:doc:`rc parameter</tutorials/introductory/customizing>`
13-
specifying the property cycle. This affects all subsequent axes
14-
(but not axes already created).
15-
2. Setting the property cycle for a single pair of axes.
11+
1. Setting the default :doc:`rc parameter</tutorials/introductory/customizing>`
12+
specifying the property cycle. This affects all subsequent axes (but not
13+
axes already created).
14+
2. Setting the property cycle for a single pair of axes.
1615
"""
1716
fromcyclerimportcycler
1817
importnumpyasnp

‎examples/images_contours_and_fields/contour_image.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@
44
=============
55
66
Test combinations of contouring, filled contouring, and image plotting.
7-
For contour labelling, see See also the
8-
:ref:`contour demo example
7+
For contour labelling, see also the :doc:`contour demo example
98
</gallery/images_contours_and_fields/contour_demo>`.
109
1110
The emphasis in this demo is on showing how to make contours register
12-
correctly on images, and on how to get both of them oriented as
13-
desired. In particular, note the usage of the
14-
:ref:`"origin" and "extent"
15-
</tutorials/intermediate/imshow_extent>`
16-
keyword arguments to imshow and contour.
11+
correctly on images, and on how to get both of them oriented as desired.
12+
In particular, note the usage of the :doc:`"origin" and "extent"
13+
</tutorials/intermediate/imshow_extent>` keyword arguments to imshow and
14+
contour.
1715
"""
1816
importmatplotlib.pyplotasplt
1917
importnumpyasnp

‎examples/images_contours_and_fields/quiver_demo.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
Demonstration of advanced quiver and quiverkey functions
44
========================================================
55
6-
Demonstrates some more advanced options for `~.axes.Axes.quiver`.
7-
For a simple example refer to
8-
:doc:`/gallery/images_contours_and_fields/quiver_simple_demo`.
6+
Demonstrates some more advanced options for `~.axes.Axes.quiver`. For a simple
7+
example refer to :doc:`/gallery/images_contours_and_fields/quiver_simple_demo`.
98
10-
Known problem: the plot autoscaling does not take into account
11-
the arrows, sothose on the boundaries are often out of the picture.
12-
This is *not* an easyproblem to solve in a perfectly general way.
13-
The workaround is to manuallyexpand the Axes objects.
9+
Known problem: the plot autoscaling does not take into account the arrows, so
10+
those on the boundaries are often out of the picture. This is *not* an easy
11+
problem to solve in a perfectly general way. The workaround is to manually
12+
expand the Axes objects.
1413
"""
1514
importmatplotlib.pyplotasplt
1615
importnumpyasnp

‎examples/images_contours_and_fields/quiver_simple_demo.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
Quiver Simple Demo
44
==================
55
6-
A simple example of a `~.axes.Axes.quiver` plot with a
7-
`~.axes.Axes.quiverkey`.
6+
A simple example of a `~.axes.Axes.quiver` plot with a `~.axes.Axes.quiverkey`.
87
9-
For more advanced options refer to
8+
For more advanced options refer to
109
:doc:`/gallery/images_contours_and_fields/quiver_demo`.
1110
"""
1211
importmatplotlib.pyplotasplt

‎lib/matplotlib/widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2574,7 +2574,7 @@ class PolygonSelector(_SelectorWidget):
25742574
if the mouse click is within `vertex_select_radius` pixels of the
25752575
vertex. The default radius is 15 pixels.
25762576
2577-
See Also
2577+
Examples
25782578
--------
25792579
:doc:`/gallery/widgets/polygon_selector_demo`
25802580
"""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp