Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da47d2d

Browse files
committed
DOC: fix typos in pyplot
1 parent 96ecf45 commit da47d2d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

lib/matplotlib/pyplot.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def pause(interval):
162162
Pause for *interval* seconds.
163163
164164
If there is an active figure it will be updated and displayed,
165-
and the gui event loop will run during the pause.
165+
and the GUI event loop will run during the pause.
166166
167167
If there is no active figure, or if a non-interactive backend
168168
is in use, this executes time.sleep(interval).
@@ -625,7 +625,7 @@ def axes(*args, **kwargs):
625625
axis. An :class:`~matplotlib.axes.Axes` instance is returned.
626626
627627
======= ============ ================================================
628-
kwarg Accepts Desctiption
628+
kwarg Accepts Description
629629
======= ============ ================================================
630630
axisbg color the axes background color
631631
frameon [True|False] display the frame?
@@ -845,7 +845,7 @@ def subplots(nrows=1, ncols=1, sharex=False, sharey=False, squeeze=True,
845845
array.
846846
847847
If *False*, no squeezing at all is done: the returned axis
848-
object is always a 2-d array contaning Axis instances, even if it
848+
object is always a 2-d array containing Axis instances, even if it
849849
ends up being 1x1.
850850
851851
*subplot_kw* : dict
@@ -898,7 +898,7 @@ def subplots(nrows=1, ncols=1, sharex=False, sharey=False, squeeze=True,
898898
# same as
899899
plt.subplots(2, 2, sharex=True, sharey=True)
900900
"""
901-
# for backwards compatability
901+
# for backwards compatibility
902902
if isinstance(sharex, bool):
903903
if sharex:
904904
sharex = "all"
@@ -1634,7 +1634,7 @@ def colors():
16341634
matplotlib handles colors.
16351635
16361636
Commands which take color arguments can use several formats to
1637-
specify the colors. For the basic builtin colors, you can use a
1637+
specify the colors. For the basic built-in colors, you can use a
16381638
single letter
16391639
16401640
===== =======
@@ -1669,7 +1669,7 @@ def colors():
16691669
16701670
subplot(111, axisbg=(0.1843, 0.3098, 0.3098))
16711671
1672-
Here is an example that creates a pale turqoise title::
1672+
Here is an example that creates a pale turquoise title::
16731673
16741674
title('Is this the best color?', color='#afeeee')
16751675

0 commit comments

Comments
 (0)