Skip to content

Commit d15e5af

Browse files
committed
Fix typos
1 parent 03dd8e4 commit d15e5af

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

lib/matplotlib/quiver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ def __init__(self, ax, *args, **kw):
925925
self.flip = kw.pop('flip_barb', False)
926926
transform = kw.pop('transform', ax.transData)
927927

928-
# Flagcolor and and barbcolor provide convenience parameters for
928+
# Flagcolor and barbcolor provide convenience parameters for
929929
# setting the facecolor and edgecolor, respectively, of the barb
930930
# polygon. We also work here to make the flag the same color as the
931931
# rest of the barb by default

lib/matplotlib/tests/test_colors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def test_light_source_shading_default():
410410
ls = mcolors.LightSource(315, 45)
411411
rgb = ls.shade(z, cmap)
412412

413-
# Result stored transposed and rounded for for more compact display...
413+
# Result stored transposed and rounded for more compact display...
414414
expect = np.array(
415415
[[[0.00, 0.45, 0.90, 0.90, 0.82, 0.62, 0.28, 0.00],
416416
[0.45, 0.94, 0.99, 1.00, 1.00, 0.96, 0.65, 0.17],
@@ -475,7 +475,7 @@ def test_light_source_masked_shading():
475475
ls = mcolors.LightSource(315, 45)
476476
rgb = ls.shade(z, cmap)
477477

478-
# Result stored transposed and rounded for for more compact display...
478+
# Result stored transposed and rounded for more compact display...
479479
expect = np.array(
480480
[[[0.00, 0.46, 0.91, 0.91, 0.84, 0.64, 0.29, 0.00],
481481
[0.46, 0.96, 1.00, 1.00, 1.00, 0.97, 0.67, 0.18],

lib/matplotlib/tri/triinterpolate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def __init__(self, triangulation, z, trifinder=None):
5757
self._unit_y = 1.0
5858

5959
# Default triangle renumbering: None (= no renumbering)
60-
# Renumbering may be used to avoid unecessary computations
60+
# Renumbering may be used to avoid unnecessary computations
6161
# if complex calculations are done inside the Interpolator.
6262
# Please refer to :meth:`_interpolate_multikeys` for details.
6363
self._tri_renum = None

setup.cfg.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# therefore they are installed unconditionally.
5656
#
5757
# You can uncomment any the following lines to change this
58-
# behavior. Acceptible values are:
58+
# behavior. Acceptable values are:
5959
#
6060
# True: build the extension. Exits with a warning if the
6161
# required dependencies are not available

src/_contour.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,7 @@ void QuadContourGenerator::init_cache_grid(const MaskArray& mask)
12131213
long i, j, quad;
12141214

12151215
if (mask.empty()) {
1216-
// No mask, easy to calculate quad existance and boundaries together.
1216+
// No mask, easy to calculate quad existence and boundaries together.
12171217
quad = 0;
12181218
for (j = 0; j < _ny; ++j) {
12191219
for (i = 0; i < _nx; ++i, ++quad) {

0 commit comments

Comments
 (0)