Skip to content

Commit bc5d5b8

Browse files
authored
Merge pull request matplotlib#20042 from luzpaz/typos-cont
DOC: fix typos
2 parents 2225813 + b183eae commit bc5d5b8

File tree

20 files changed

+23
-23
lines changed

20 files changed

+23
-23
lines changed

doc/api/prev_api_changes/api_changes_2.1.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Previously they were clipped to a very small number and shown.
2020
Matplotlib uses instances of :obj:`~matplotlib.cbook.CallbackRegistry`
2121
as a bridge between user input event from the GUI and user callbacks.
2222
Previously, any exceptions raised in a user call back would bubble out
23-
of of the ``process`` method, which is typically in the GUI event
23+
of the ``process`` method, which is typically in the GUI event
2424
loop. Most GUI frameworks simple print the traceback to the screen
2525
and continue as there is not always a clear method of getting the
2626
exception back to the user. However PyQt5 now exits the process when

doc/api/prev_api_changes/api_changes_3.3.0/behaviour.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ most common operations remain available), and the list-of-one `.Polygon` is
262262
returned as is. This makes the `repr` of the returned artist more accurate: it
263263
is now ::
264264

265-
<BarContainer object of of 10 artists> # "bar", "barstacked"
265+
<BarContainer object of 10 artists> # "bar", "barstacked"
266266
[<matplotlib.patches.Polygon object at 0xdeadbeef>] # "step", "stepfilled"
267267

268268
instead of ::

doc/api/prev_api_changes/api_changes_3.3.0/deprecations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Revert deprecation \*min, \*max keyword arguments to ``set_x/y/zlim_3d()``
7272
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7373
These keyword arguments were deprecated in 3.0, alongside with the respective
7474
parameters in ``set_xlim()`` / ``set_ylim()``. The deprecations of the 2D
75-
versions were already reverted in in 3.1.
75+
versions were already reverted in 3.1.
7676

7777
``cbook.local_over_kwdict``
7878
~~~~~~~~~~~~~~~~~~~~~~~~~~~

doc/devel/MEP/MEP22.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Defines the following attributes
144144
* messagelock: Lock to know if the message is available to write
145145

146146
Public methods for **User use**:
147-
* nav_connect(self, s, func): Connect to to navigation for events
147+
* nav_connect(self, s, func): Connect to navigation for events
148148
* nav_disconnect(self, cid): Disconnect from navigation event
149149
* message_event(self, message, sender=None): Emit a
150150
tool_message_event event

doc/users/prev_whats_new/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2267,7 +2267,7 @@ the `API changes <../../api/api_changes.html>`_.
22672267

22682268
Much of the drawing has been refactored in terms of
22692269
compound paths. Therefore, many methods have been removed
2270-
from the backend interface and replaced with a a handful to
2270+
from the backend interface and replaced with a handful to
22712271
draw compound paths. This will make updating the backends
22722272
easier, since there is less to update. It also should make
22732273
the backends more consistent in terms of functionality.

doc/users/prev_whats_new/github_stats_3.4.0.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ Pull Requests (772):
244244
* :ghpull:`19611`: Fix double picks.
245245
* :ghpull:`19640`: Backport PR #19639 on branch v3.4.x (FIX: do not allow single element list of str in subplot_mosaic)
246246
* :ghpull:`19639`: FIX: do not allow single element list of str in subplot_mosaic
247-
* :ghpull:`19638`: Backport PR #19632 on branch v3.4.x (Fix handling of warn keyword in in Figure.show.)
247+
* :ghpull:`19638`: Backport PR #19632 on branch v3.4.x (Fix handling of warn keyword in Figure.show.)
248248
* :ghpull:`19637`: Backport PR #19582 on branch v3.4.x (Add kerning to single-byte strings in PDFs)
249-
* :ghpull:`19632`: Fix handling of warn keyword in in Figure.show.
249+
* :ghpull:`19632`: Fix handling of warn keyword in Figure.show.
250250
* :ghpull:`19582`: Add kerning to single-byte strings in PDFs
251251
* :ghpull:`19629`: Backport PR #19548 on branch v3.4.x (Increase tolerances for other arches.)
252252
* :ghpull:`19630`: Backport PR #19596 on branch v3.4.x (Fix for issue 17769: wx interactive figure close cause crash)
@@ -1016,7 +1016,7 @@ Issues (204):
10161016
* :ghissue:`18648`: Drop support for directly imread()ing urls.
10171017
* :ghissue:`19366`: Current CI doc builds fail
10181018
* :ghissue:`19372`: matplotlib.axes.Axes.indicate_inset default label value is incompatible with LaTeX
1019-
* :ghissue:`17100`: Is it a better solution to acess one of the spines by class atrribute?
1019+
* :ghissue:`17100`: Is it a better solution to access one of the spines by class attribute?
10201020
* :ghissue:`17375`: Proposal: add_subfigs....
10211021
* :ghissue:`19339`: constrained_layout + fixed-aspect axes + bbox_inches="tight"
10221022
* :ghissue:`19308`: Reduce whitespace in Choosing Colormaps tutorial plots

doc/users/prev_whats_new/whats_new_1.5.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ Add step kwargs to fill_between
368368

369369
Added ``step`` kwarg to `.Axes.fill_between` to allow to fill between
370370
lines drawn using the 'step' draw style. The values of ``step`` match
371-
those of the ``where`` kwarg of `.Axes.step`. The asymmetry of of the
371+
those of the ``where`` kwarg of `.Axes.step`. The asymmetry of the
372372
kwargs names is not ideal, but `.Axes.fill_between` already has a
373373
``where`` kwarg.
374374

examples/lines_bars_and_markers/fill.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def _koch_snowflake_complex(order):
6262
plt.show()
6363

6464
###############################################################################
65-
# Use keyword arguments *facecolor* and *edgecolor* to modify the the colors
65+
# Use keyword arguments *facecolor* and *edgecolor* to modify the colors
6666
# of the polygon. Since the *linewidth* of the edge is 0 in the default
6767
# Matplotlib style, we have to set it as well for the edge to become visible.
6868

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def _get_config_or_cache_dir(xdg_base):
457457
@_logged_cached('CONFIGDIR=%s')
458458
def get_configdir():
459459
"""
460-
Return the string path of the the configuration directory.
460+
Return the string path of the configuration directory.
461461
462462
The directory is chosen as follows:
463463

lib/matplotlib/animation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1785,7 +1785,7 @@ def _draw_frame(self, framedata):
17851785
except TypeError:
17861786
raise err from None
17871787

1788-
# check each item if is artist
1788+
# check each item if it's artist
17891789
for i in self._drawn_artists:
17901790
if not isinstance(i, mpl.artist.Artist):
17911791
raise err

0 commit comments

Comments
 (0)