Skip to content

Commit 72ccc37

Browse files
committed
Fix typos
1 parent 84a03e1 commit 72ccc37

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

examples/pie_and_polar_charts/pie_and_donut_labels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#
1818
# We can provide a function to the ``autopct`` argument, which will expand
1919
# automatic percentage labeling by showing absolute values; we calculate
20-
# the latter back from realtive data and the known sum of all values.
20+
# the latter back from relative data and the known sum of all values.
2121
#
2222
# We then create the pie and store the returned objects for later.
2323
# The first returned element of the returned tuple is a list of the wedges.

lib/matplotlib/_constrained_layout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def _make_ghost_gridspec_slots(fig, gs):
245245
def _make_layout_margins(ax, renderer, h_pad, w_pad):
246246
"""
247247
For each axes, make a margin between the *pos* layoutbox and the
248-
*axes* layoutbox be a minimum size that can accomodate the
248+
*axes* layoutbox be a minimum size that can accommodate the
249249
decorations on the axis.
250250
"""
251251
fig = ax.figure

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4594,7 +4594,7 @@ def fill(self, *args, **kwargs):
45944594
----------
45954595
args : sequence of x, y, [color]
45964596
Each polygon is defined by the lists of *x* and *y* positions of
4597-
its nodes, optionally followed by by a *color* specifier. See
4597+
its nodes, optionally followed by a *color* specifier. See
45984598
:mod:`matplotlib.colors` for supported color specifiers. The
45994599
standard color cycle is used for polygons without a color
46004600
specifier.
@@ -5279,7 +5279,7 @@ def pcolor(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
52795279
.. hint::
52805280
52815281
``pcolor()`` can be very slow for large arrays. In most
5282-
cases you should use the the similar but much faster
5282+
cases you should use the similar but much faster
52835283
`~.Axes.pcolormesh` instead. See there for a discussion of the
52845284
differences.
52855285

lib/matplotlib/category.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ def __init__(self, data=None):
171171
def update(self, data):
172172
"""Maps new values to integer identifiers.
173173
174-
Paramters
175-
---------
174+
Parameters
175+
----------
176176
data: iterable
177177
sequence of string values
178178

tutorials/intermediate/imshow_extent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def generate_imshow_demo_grid(extents, xlim=None, ylim=None):
240240
# Explicit extent and axes limits
241241
# -------------------------------
242242
#
243-
# If we fix the axes limits by explicity setting `set_xlim` / `set_ylim`, we
243+
# If we fix the axes limits by explicitly setting `set_xlim` / `set_ylim`, we
244244
# force a certain size and orientation of the axes.
245245
# This can decouple the 'left-right' and 'top-bottom' sense of the image from
246246
# the orientation on the screen.

0 commit comments

Comments
 (0)