Skip to content

Commit

Permalink
Merge pull request #9010 from taehoonlee/fix_typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
dstansby committed Aug 10, 2017
2 parents f53be2f + 5b2aed7 commit fa005e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
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/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

0 comments on commit fa005e4

Please sign in to comment.