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

Skip to content

Commit fa005e4

Browse files
authored
Merge pull request matplotlib#9010 from taehoonlee/fix_typos
Fix typos
2 parents f53be2f + 5b2aed7 commit fa005e4

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

lib/matplotlib/category.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,9 @@ class UnitData(object):
8888
def __init__(self, data):
8989
"""Create mapping between unique categorical values
9090
and numerical identifier
91-
Paramters
92-
---------
91+
92+
Parameters
93+
----------
9394
data: iterable
9495
sequence of values
9596
"""

lib/matplotlib/mlab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3751,7 +3751,7 @@ def inside_poly(points, verts):
37513751
# Make a closed polygon path
37523752
poly = Path(verts)
37533753

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

37573757

lib/matplotlib/tests/test_legend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def test_alpha_rcparam():
109109
ax.plot(range(10), lw=5)
110110
with mpl.rc_context(rc={'legend.framealpha': .75}):
111111
leg = plt.legend(['Longlabel that will go away'], loc=10)
112-
# this alpha is going to be over-ridden by the rcparam whith
112+
# this alpha is going to be over-ridden by the rcparam with
113113
# sets the alpha of the patch to be non-None which causes the alpha
114114
# value of the face color to be discarded. This behavior may not be
115115
# ideal, but it is what it is and we should keep track of it changing

0 commit comments

Comments
 (0)