Skip to content

Commit 21f27f1

Browse files
authored
Merge pull request #25722 from QuLogic/spelling
DOC: Fix duplicated words
2 parents 4f5b574 + c2330bf commit 21f27f1

File tree

7 files changed

+12
-15
lines changed

7 files changed

+12
-15
lines changed

doc/devel/MEP/MEP13.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@ Implementation
4242
a text file.
4343
2. Classes should be reorganized so setter and getter methods are
4444
sequential in the code, with getter methods first.
45-
3. Getter and setter methods the provide additional optional optional
46-
arguments should have those arguments accessible in another manner,
47-
either as additional getter or setter methods or attributes of
48-
other classes. If those classes are not accessible, getters for
49-
them should be added.
45+
3. Getter and setter methods that provide additional optional arguments should
46+
have those arguments accessible in another manner, either as additional
47+
getter or setter methods or attributes of other classes. If those classes
48+
are not accessible, getters for them should be added.
5049
4. Property decorators will be added to the setter and getter methods
5150
without the prefix. Those with the prefix will be marked as
5251
deprecated.

doc/users/prev_whats_new/changelog.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ recent changes, please refer to the :doc:`/users/release_notes`.
5858
one.
5959

6060
2014-05-20
61-
Added logic to in FontManager to invalidate font-cache if if font-family
62-
rcparams have changed.
61+
Added logic in FontManager to invalidate font-cache if font-family rcparams
62+
have changed.
6363

6464
2014-05-16
6565
Fixed the positioning of multi-line text in the PGF backend.
@@ -6103,7 +6103,7 @@ recent changes, please refer to the :doc:`/users/release_notes`.
61036103
5X speedup for ps. - JDH
61046104

61056105
2004-05-14
6106-
On second thought... created an "nx" namespace in in numerix which maps
6106+
On second thought... created an "nx" namespace in numerix which maps
61076107
type names onto typecodes the same way for both numarray and Numeric. This
61086108
undoes my previous change immediately below. To get a typename for Int16
61096109
usable in a Numeric extension: say nx.Int16. - JTM

doc/users/prev_whats_new/github_stats_3.5.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ Issues (187):
11221122
* :ghissue:`21300`: [Bug]: zooming in on contour plot gives false extra contour lines
11231123
* :ghissue:`21466`: [Bug]: EPS export shows hidden tick labels when using tex for text rendering
11241124
* :ghissue:`21463`: [Bug]: Plotting lables with Greek latters in math mode produces Parsing error when plt.show() runs
1125-
* :ghissue:`20534`: Document formatting for for sections
1125+
* :ghissue:`20534`: Document formatting for sections
11261126
* :ghissue:`21246`: [Doc]: Install info takes up too much room on new front page
11271127
* :ghissue:`21432`: [Doc]: Double clicking parameter name also highlights next item of text
11281128
* :ghissue:`21310`: [Bug]: contour on 3d plot fails if x and y are 1d and different lengths

galleries/examples/text_labels_and_annotations/font_family_rc.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
2727
.. redirect-from:: /gallery/font_family_rc_sgskip
2828
29-
30-
31-
The font font.family defaults are OS dependent and can be viewed with
29+
The ``font.family`` defaults are OS dependent and can be viewed with:
3230
"""
3331
import matplotlib.pyplot as plt
3432

lib/matplotlib/backends/backend_pdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2254,7 +2254,7 @@ def draw_tex(self, gc, x, y, s, prop, angle, *, mtext=None):
22542254
# font. A text entry is ['text', x, y, glyphs, x+w] where x
22552255
# and y are the starting coordinates, w is the width, and
22562256
# glyphs is a list; in this phase it will always contain just
2257-
# one one-character string, but later it may have longer
2257+
# one single-character string, but later it may have longer
22582258
# strings interspersed with kern amounts.
22592259
oldfont, seq = None, []
22602260
for x1, y1, dvifont, glyph, width in page.text:

lib/matplotlib/tests/test_dates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1317,7 +1317,7 @@ def test_DateLocator():
13171317
iceland_tz = dateutil.tz.gettz(tz_str)
13181318
# Check not Iceland
13191319
assert locator.tz != iceland_tz
1320-
# Set it to to Iceland
1320+
# Set it to Iceland
13211321
locator.set_tzinfo('Iceland')
13221322
# Check now it is Iceland
13231323
assert locator.tz == iceland_tz

tools/github_stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def issues_closed_since(period=timedelta(days=365),
137137

138138

139139
def sorted_by_field(issues, field='closed_at', reverse=False):
140-
"""Return a list of issues sorted by closing date date."""
140+
"""Return a list of issues sorted by closing date."""
141141
return sorted(issues, key=lambda i: i[field], reverse=reverse)
142142

143143

0 commit comments

Comments
 (0)