Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 701aba9

Browse files
committed
Fix some typos in merged examples.
1 parent c305b8e commit 701aba9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

examples/images_contours_and_fields/image_demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@
138138

139139
###############################################################################
140140
# You can specify whether images should be plotted with the array origin
141-
# x[0,0] in the upper left or upper right by using the origin parameter.
141+
# x[0,0] in the upper left or lower right by using the origin parameter.
142142
# You can also control the default be setting image.origin in your
143-
# matplotlibrc file; see http://matplotlib.org/matplotlibrc
143+
# :ref:`matplotlibrc file <customizing-with-matplotlibrc-files>`
144144

145145
x = np.arange(120).reshape((10, 12))
146146

examples/pylab_examples/fancybox_demo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def test2(ax):
9393
#p_fancy.set_boxstyle("round", pad=0.1, rounding_size=0.2)
9494

9595
ax.text(0.1, 0.8,
96-
' boxstyle="round,pad=0.1\n rounding\\_size=0.2"',
96+
' boxstyle="round,pad=0.1\n rounding_size=0.2"',
9797
size=10, transform=ax.transAxes)
9898

9999
# draws control points for the fancy box.
@@ -118,7 +118,7 @@ def test3(ax):
118118
ax.add_patch(p_fancy)
119119

120120
ax.text(0.1, 0.8,
121-
' boxstyle="round,pad=0.1"\n mutation\\_scale=2',
121+
' boxstyle="round,pad=0.1"\n mutation_scale=2',
122122
size=10, transform=ax.transAxes)
123123

124124
# draws control points for the fancy box.
@@ -152,7 +152,7 @@ def test4(ax):
152152
ax.add_patch(p_fancy)
153153

154154
ax.text(0.1, 0.8,
155-
' boxstyle="round,pad=0.3"\n mutation\\_aspect=.5',
155+
' boxstyle="round,pad=0.3"\n mutation_aspect=.5',
156156
size=10, transform=ax.transAxes)
157157

158158
draw_bbox(ax, bb)

examples/pylab_examples/psd_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Plotting Power Spectral Density (PSD) in Matplotlib.
77
8-
The PSD is a common plot in the field of signal processing. Numpy has
8+
The PSD is a common plot in the field of signal processing. NumPy has
99
many useful libraries for computing a PSD. Below we demo a few examples
1010
of how this can be accomplished and visualized with Matplotlib.
1111
"""

0 commit comments

Comments
 (0)