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

Skip to content

Commit 57c8e78

Browse files
committed
Update docstring to reflect reality.
svn path=/branches/transforms/; revision=4124
1 parent 0f143a1 commit 57c8e78

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

lib/matplotlib/path.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,11 @@ def __init__(self, vertices, codes=None, closed=True):
7070
"""
7171
Create a new path with the given vertices and codes.
7272
73-
vertices is an Nx2 numpy float array.
73+
vertices is an Nx2 numpy float array, masked array or Python
74+
sequence.
7475
75-
codes is an N-length numpy array of type Path.code_type.
76+
codes is an N-length numpy array or Python sequence of type
77+
Path.code_type.
7678
7779
See the docstring of Path for a description of the various
7880
codes.

0 commit comments

Comments
 (0)