From 40afd8e804676946aff908e0a66facb5c325cbaa Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Wed, 29 Aug 2018 20:25:17 -0700 Subject: [PATCH] some extra typos --- doc/api/api_changes.rst | 2 +- lib/mpl_toolkits/mplot3d/art3d.py | 4 ++-- tutorials/intermediate/gridspec.py | 2 +- tutorials/introductory/pyplot.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/api/api_changes.rst b/doc/api/api_changes.rst index 5cde8c5b5fbf..50520f39cc93 100644 --- a/doc/api/api_changes.rst +++ b/doc/api/api_changes.rst @@ -145,7 +145,7 @@ The entire contents of `testing.noseclasses` have also been removed. :class:`matplotlib.cbook.deprecation.mplDeprecation` will be removed in future versions. It is just an alias for :class:`matplotlib.cbook.deprecation.MatplotlibDeprecationWarning`. -Please use the :class:`~.MatplotlibDeprecationWarning` directly if neccessary. +Please use the :class:`~.MatplotlibDeprecationWarning` directly if necessary. matplotlib.cbook.Bunch deprecated diff --git a/lib/mpl_toolkits/mplot3d/art3d.py b/lib/mpl_toolkits/mplot3d/art3d.py index 0b592c68e877..177ab62eac5f 100644 --- a/lib/mpl_toolkits/mplot3d/art3d.py +++ b/lib/mpl_toolkits/mplot3d/art3d.py @@ -46,9 +46,9 @@ def get_dir_vector(zdir): zdir : {'x', 'y', 'z', None, 3-tuple} The direction. Possible values are: - 'x': equivalent to (1, 0, 0) - - 'y': euqivalent to (0, 1, 0) + - 'y': equivalent to (0, 1, 0) - 'z': equivalent to (0, 0, 1) - - *None*: euqivalent to (0, 0, 0) + - *None*: equivalent to (0, 0, 0) - an iterable (x, y, z) is returned unchanged. Returns diff --git a/tutorials/intermediate/gridspec.py b/tutorials/intermediate/gridspec.py index 76d94b61f2a9..48e19545f1c5 100644 --- a/tutorials/intermediate/gridspec.py +++ b/tutorials/intermediate/gridspec.py @@ -66,7 +66,7 @@ # The power of gridspec comes in being able to create subplots that span # rows and columns. Note the # `Numpy slice `_ -# syntax for selecing the part of the gridspec each subplot will occupy. +# syntax for selecting the part of the gridspec each subplot will occupy. # # Note that we have also used the convenience method `.Figure.add_gridspec` # instead of `.gridspec.GridSpec`, potentially saving the user an import, diff --git a/tutorials/introductory/pyplot.py b/tutorials/introductory/pyplot.py index 75aa2a23a26b..36bc60652489 100644 --- a/tutorials/introductory/pyplot.py +++ b/tutorials/introductory/pyplot.py @@ -164,7 +164,7 @@ # ``line,`` to get the first element of that list:: # # line, = plt.plot(x, y, '-') -# line.set_antialiased(False) # turn off antialising +# line.set_antialiased(False) # turn off antialiasing # # * Use the :func:`~matplotlib.pyplot.setp` command. The example below # uses a MATLAB-style command to set multiple properties