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

Skip to content

Fix typos #9010

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
Aug 10, 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
Fix typos
  • Loading branch information
taehoonlee committed Aug 10, 2017
commit 5b2aed779218d01fbfd1ae5fe905ce57d39c266d
5 changes: 3 additions & 2 deletions lib/matplotlib/category.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ class UnitData(object):
def __init__(self, data):
"""Create mapping between unique categorical values
and numerical identifier
Paramters
---------

Parameters
----------
data: iterable
sequence of values
"""
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/legend.py
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ def draggable(self, state=None, use_blit=False, update="loc"):
draggable is on.

The update parameter control which parameter of the legend changes
when dragged. If update is "loc", the *loc* paramter of the legend
when dragged. If update is "loc", the *loc* parameter of the legend
is changed. If "bbox", the *bbox_to_anchor* parameter is changed.
"""
is_draggable = self._draggable is not None
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/mlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -3751,7 +3751,7 @@ def inside_poly(points, verts):
# Make a closed polygon path
poly = Path(verts)

# Check to see which points are contained withing the Path
# Check to see which points are contained within the Path
return [idx for idx, p in enumerate(points) if poly.contains_point(p)]


Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/tests/test_legend.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def test_alpha_rcparam():
ax.plot(range(10), lw=5)
with mpl.rc_context(rc={'legend.framealpha': .75}):
leg = plt.legend(['Longlabel that will go away'], loc=10)
# this alpha is going to be over-ridden by the rcparam whith
# this alpha is going to be over-ridden by the rcparam with
# sets the alpha of the patch to be non-None which causes the alpha
# value of the face color to be discarded. This behavior may not be
# ideal, but it is what it is and we should keep track of it changing
Expand Down