8000 Fix typos by taehoonlee · Pull Request #8792 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Fix typos #8792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/api/api_changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2902,7 +2902,7 @@ Changes for 0.50
canvas.show()
vbox.pack_start(canvas)

If you use the NavigationToolbar, this in now intialized with a
If you use the NavigationToolbar, this in now initialized with a
FigureCanvas, not a Figure. The examples embedding_in_gtk.py,
embedding_in_gtk2.py, and mpl_with_glade.py all reflect the new
API so use these as a guide.
Expand Down
2 changes: 1 addition & 1 deletion doc/users/prev_whats_new/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ the `API changes <../../api/api_changes.html>`_.
2010-06-30 Added autoscale convenience method and corresponding
pyplot function for simplified control of autoscaling;
and changed axis, set_xlim, and set_ylim so that by
default, they turn off the autoscaling on the relevent
default, they turn off the autoscaling on the relevant
axis or axes. Therefore one can call set_xlim before
plotting a line, for example, and the limits will be
retained. - EF
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/artist.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def allow_rasterization(draw):
"""
Decorator for Artist.draw method. Provides routines
that run before and after the draw call. The before and after functions
are useful for changing artist-dependant renderer attributes or making
are useful for changing artist-dependent renderer attributes or making
other setup function calls, such as starting and flushing a mixed-mode
renderer.
"""
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -4038,7 +4038,7 @@ def hexbin(self, x, y, C=None, gridsize=100, bins=None,

Make a hexagonal binning plot of *x* versus *y*, where *x*,
*y* are 1-D sequences of the same length, *N*. If *C* is *None*
(the default), this is a histogram of the number of occurences
(the default), this is a histogram of the number of occurrences
of the observations at (x[i],y[i]).

If *C* is specified, it specifies values at the coordinate
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/axes/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3827,7 +3827,7 @@ def get_children(self):

def contains(self, mouseevent):
"""
Test whether the mouse event occured in the axes.
Test whether the mouse event occurred in the axes.

Returns *True* / *False*, {}
"""
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/axis.py
Original file line number Diff line number Diff line change
Expand Up @@ -1702,7 +1702,7 @@ class XAxis(Axis):
axis_name = 'x'

def contains(self, mouseevent):
"""Test whether the mouse event occured in the x axis.
"""Test whether the mouse event occurred in the x axis.
"""
if callable(self._contains):
return self._contains(self, mouseevent)
Expand Down
4 changes: 2 additions & 2 deletions lib/matplotlib/backend_bases.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def _iter_collection_raw_paths(self, master_transform, paths,
all_transforms):
"""
This is a helper method (along with :meth:`_iter_collection`) to make
it easier to write a space-efficent :meth:`draw_path_collection`
it easier to write a space-efficient :meth:`draw_path_collection`
implementation in a backend.

This method yields all of the base path/transform
Expand Down Expand Up @@ -433,7 +433,7 @@ def _iter_collection(self, gc, master_transform, all_transforms,
"""
This is a helper method (along with
:meth:`_iter_collection_raw_paths`) to make it easier to write
a space-efficent :meth:`draw_path_collection` implementation in a
a space-efficient :meth:`draw_path_collection` implementation in a
backend.

This method yields all of the path, offset and graphics
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/backends/backend_agg.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class RendererAgg(RendererBase):
# FigureCanvas acquire a lock on the fontd at the start of the
# draw, and release it when it is done. This allows multiple
# renderers to share the cached fonts, but only one figure can
# draw at at time and so the font cache is used by only one
# draw at time and so the font cache is used by only one
# renderer at a time

lock = threading.RLock()
Expand Down
4 changes: 2 additions & 2 deletions lib/matplotlib/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ def draw(self, renderer, *args, **kwargs):

def contains(self, mouseevent):
"""
Test whether the mouse event occured within the image.
Test whether the mouse event occurred within the image.
"""
if callable(self._contains):
return self._contains(self, mouseevent)
Expand Down Expand Up @@ -1195,7 +1195,7 @@ def get_window_extent(self, renderer=None):
raise ValueError("unknown type of bbox")

def contains(self, mouseevent):
"""Test whether the mouse event occured within the image."""
"""Test whether the mouse event occurred within the image."""
if callable(self._contains):
return self._contains(self, mouseevent)

Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/pyplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -2312,7 +2312,7 @@ def plotfile(fname, cols=(0,), plotfuncs=None,
comments='#', skiprows=0, checkrows=5, delimiter=',',
names=None, subplots=True, newfig=True, **kwargs):
"""
Plot the data in in a file.
Plot the data in a file.

*cols* is a sequence of column identifiers to plot. An identifier
is either an int or a string. If it is an int, it indicates the
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg.template
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
#
# The Agg, Ps, Pdf and SVG backends do not require external
# dependencies. Do not choose GTK, GTKAgg, GTKCairo, MacOSX, or TkAgg
# if you have disabled the relevent extension modules. Agg will be used
# if you have disabled the relevant extension modules. Agg will be used
# by default.
#
#backend = Agg
Expand Down
0