Skip to content

Commit 6fc87ef

Browse files
authored
DOC: Correct a few typos in documentation [ci doc] (matplotlib#31349)
1 parent 0f46f27 commit 6fc87ef

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

galleries/users_explain/toolkits/axisartist.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ required. ::
517517
)
518518

519519
# Find a grid values appropriate for the coordinate (degree,
520-
# minute, second). The argument is a approximate number of grids.
520+
# minute, second). The argument is an approximate number of grids.
521521
grid_locator1 = angle_helper.LocatorDMS(12)
522522

523523
# And also uses an appropriate formatter. Note that the acceptable Locator

lib/matplotlib/tests/test__style_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_style_generator_raises_on_empty_style_parameter_list(key):
5959
def test_style_generator_sequence_type_styles():
6060
"""
6161
Test that sequence type style values are detected as single value
62-
and passed to a all elements of the generator.
62+
and passed to all elements of the generator.
6363
"""
6464
kw = {'facecolor': ('r', 0.5),
6565
'edgecolor': [0.5, 0.5, 0.5],

lib/matplotlib/tests/test_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,7 @@ def test_limits_empty_data(plot_fun, fig_test, fig_ref):
11831183
def test_imshow():
11841184
# use former defaults to match existing baseline image
11851185
matplotlib.rcParams['image.interpolation'] = 'nearest'
1186-
# Create a NxN image
1186+
# Create an NxN image
11871187
N = 100
11881188
(x, y) = np.indices((N, N))
11891189
x -= N//2
@@ -1207,7 +1207,7 @@ def test_imshow_clip():
12071207
# use former defaults to match existing baseline image
12081208
matplotlib.rcParams['image.interpolation'] = 'nearest'
12091209

1210-
# Create a NxN image
1210+
# Create an NxN image
12111211
N = 100
12121212
(x, y) = np.indices((N, N))
12131213
x -= N//2

0 commit comments

Comments
 (0)