Skip to content

Commit 2c06419

Browse files
committed
Delete the repetitive word 'the' in docstrings and comments
1 parent 27a648a commit 2c06419

File tree

21 files changed

+27
-27
lines changed

21 files changed

+27
-27
lines changed

doc/users/event_handling.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ There are a variety of meanings of the ``picker`` property:
426426

427427
``float``
428428
if picker is a number it is interpreted as an epsilon tolerance in
429-
points and the the artist will fire off an event if its data is
429+
points and the artist will fire off an event if its data is
430430
within epsilon of the mouse event. For some artists like lines
431431
and patch collections, the artist may provide additional data to
432432
the pick event that is generated, e.g., the indices of the data

doc/users/patheffects_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ draws the artist without any effect:
3434
plt.show()
3535

3636
Whilst the plot doesn't look any different to what you would expect without any path
37-
effects, the drawing of the text now been changed to use the the path effects
37+
effects, the drawing of the text now been changed to use the path effects
3838
framework, opening up the possibilities for more interesting examples.
3939

4040
Adding a shadow

doc/users/whats_new.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ Qt4 backend
406406
```````````
407407
Rudolf Höfler changed the appearance of the subplottool. All sliders are
408408
vertically arranged now, buttons for tight layout and reset were
409-
added. Furthermore, the the subplottool is now implemented as a modal
409+
added. Furthermore, the subplottool is now implemented as a modal
410410
dialog. It was previously a QMainWindow, leaving the SPT open if one closed the
411411
plot window.
412412

examples/api/sankey_demo_basics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# This demonstrates:
2525
# 1. Setting one path longer than the others
2626
# 2. Placing a label in the middle of the diagram
27-
# 3. Using the the scale argument to normalize the flows
27+
# 3. Using the scale argument to normalize the flows
2828
# 4. Implicitly passing keyword arguments to PathPatch()
2929
# 5. Changing the angle of the arrow heads
3030
# 6. Changing the offset between the tips of the paths and their labels

examples/pylab_examples/axhspan_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# the yrange
1919
l = plt.axvline(x=0, ymin=0.75, linewidth=4, color='b')
2020

21-
# draw a default hline at y=.5 that spans the the middle half of
21+
# draw a default hline at y=.5 that spans the middle half of
2222
# the axes
2323
l = plt.axhline(y=.5, xmin=0.25, xmax=0.75)
2424

extern/agg24-svn/include/agg_scanline_u.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ namespace agg
6262
//
6363
// scanline_u8::const_iterator span = sl.begin();
6464
//
65-
// unsigned char* row = m_rbuf->row(y); // The the address of the beginning
65+
// unsigned char* row = m_rbuf->row(y); // The address of the beginning
6666
// // of the current row
6767
//
6868
// unsigned num_spans = sl.num_spans(); // Number of spans. It's guaranteed that

extern/agg24-svn/include/platform/agg_platform_support.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ namespace agg
644644
// open it in the current directory. The demos usually expect
645645
// all the supplementary files to be placed in the current
646646
// directory, that is usually coincides with the directory where
647-
// the the executable is. However, in some systems (BeOS) it's not so.
647+
// the executable is. However, in some systems (BeOS) it's not so.
648648
// For those kinds of systems full_file_name() can help access files
649649
// preserving commonly used policy.
650650
// So, it's a good idea to use in the demos the following:

lib/matplotlib/artist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ def get_sketch_params(self):
525525

526526
def set_sketch_params(self, scale=None, length=None, randomness=None):
527527
"""
528-
Sets the the sketch parameters.
528+
Sets the sketch parameters.
529529
530530
Parameters
531531
----------

lib/matplotlib/axes/_axes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ def axvline(self, x=0, ymin=0, ymax=1, **kwargs):
758758
759759
>>> axvline(x=1)
760760
761-
* draw a default vline at *x* = .5 that spans the the middle half of
761+
* draw a default vline at *x* = .5 that spans the middle half of
762762
the yrange::
763763
764764
>>> axvline(x=.5, ymin=0.25, ymax=0.75)
@@ -4850,7 +4850,7 @@ def pcolor(self, *args, **kwargs):
48504850
than those of *C*; if the dimensions are the same, then the
48514851
last row and column of *C* will be ignored.
48524852
4853-
Note that the the column index corresponds to the
4853+
Note that the column index corresponds to the
48544854
*x*-coordinate, and the row index corresponds to *y*; for
48554855
details, see the :ref:`Grid Orientation
48564856
<axes-pcolor-grid-orientation>` section below.
@@ -5298,7 +5298,7 @@ def pcolorfast(self, *args, **kwargs):
52985298
produce faster and more compact output using ps, pdf, and
52995299
svg backends, however.
53005300
5301-
Note that the the column index corresponds to the x-coordinate,
5301+
Note that the column index corresponds to the x-coordinate,
53025302
and the row index corresponds to y; for details, see
53035303
the "Grid Orientation" section below.
53045304

lib/matplotlib/axis.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1581,7 +1581,7 @@ def set_ticks(self, ticks, minor=False):
15811581

15821582
def _update_label_position(self, bboxes, bboxes2):
15831583
"""
1584-
Update the label position based on the the bounding box enclosing
1584+
Update the label position based on the bounding box enclosing
15851585
all the ticklabels and axis spine
15861586
"""
15871587
raise NotImplementedError('Derived must override')
@@ -1739,7 +1739,7 @@ def set_label_position(self, position):
17391739

17401740
def _update_label_position(self, bboxes, bboxes2):
17411741
"""
1742-
Update the label position based on the the bounding box enclosing
1742+
Update the label position based on the bounding box enclosing
17431743
all the ticklabels and axis spine
17441744
"""
17451745
if not self._autolabelpos:
@@ -2057,7 +2057,7 @@ def set_label_position(self, position):
20572057

20582058
def _update_label_position(self, bboxes, bboxes2):
20592059
"""
2060-
Update the label position based on the the bounding box enclosing
2060+
Update the label position based on the bounding box enclosing
20612061
all the ticklabels and axis spine
20622062
"""
20632063
if not self._autolabelpos:

0 commit comments

Comments
 (0)