Skip to content

Fix typos #8799

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/matplotlib/quiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ def __init__(self, ax, *args, **kw):
self.flip = kw.pop('flip_barb', False)
transform = kw.pop('transform', ax.transData)

# Flagcolor and and barbcolor provide convenience parameters for
# Flagcolor and barbcolor provide convenience parameters for
# setting the facecolor and edgecolor, respectively, of the barb
# polygon. We also work here to make the flag the same color as the
# rest of the barb by default
Expand Down
4 changes: 2 additions & 2 deletions lib/matplotlib/tests/test_colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def test_light_source_shading_default():
ls = mcolors.LightSource(315, 45)
rgb = ls.shade(z, cmap)

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

# Result stored transposed and rounded for for more compact display...
# Result stored transposed and rounded for more compact display...
expect = np.array(
[[[0.00, 0.46, 0.91, 0.91, 0.84, 0.64, 0.29, 0.00],
[0.46, 0.96, 1.00, 1.00, 1.00, 0.97, 0.67, 0.18],
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/tri/triinterpolate.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def __init__(self, triangulation, z, trifinder=None):
self._unit_y = 1.0

# Default triangle renumbering: None (= no renumbering)
# Renumbering may be used to avoid unecessary computations
# Renumbering may be used to avoid unnecessary computations
# if complex calculations are done inside the Interpolator.
# Please refer to :meth:`_interpolate_multikeys` for details.
self._tri_renum = None
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg.template
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
# therefore they are installed unconditionally.
#
# You can uncomment any the following lines to change this
# behavior. Acceptible values are:
# behavior. Acceptable values are:
#
# True: build the extension. Exits with a warning if the
# required dependencies are not available
Expand Down
2 changes: 1 addition & 1 deletion src/_contour.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ void QuadContourGenerator::init_cache_grid(const MaskArray& mask)
long i, j, quad;

if (mask.empty()) {
// No mask, easy to calculate quad existance and boundaries together.
// No mask, easy to calculate quad existence and boundaries together.
quad = 0;
for (j = 0; j < _ny; ++j) {
for (i = 0; i < _nx; ++i, ++quad) {
Expand Down