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

Skip to content

Commit 89cf598

Browse files
committed
Copy in kwarg definitions to pyplot.plotfile
1 parent 0466b93 commit 89cf598

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

lib/matplotlib/pyplot.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2230,8 +2230,18 @@ def plotfile(fname, cols=(0,), plotfuncs=None,
22302230
that changes the axis scaling will set the scaling for all
22312231
columns.
22322232
2233-
*comments*, *skiprows*, *checkrows*, *delimiter*, and *names*
2234-
are all used when loading the data into a record array.
2233+
- *comments*: the character used to indicate the start of a comment
2234+
in the file, or *None* to switch off the removal of comments
2235+
2236+
- *skiprows*: is the number of rows from the top to skip
2237+
2238+
- *checkrows*: is the number of rows to check to validate the column
2239+
data type. When set to zero all rows are validated.
2240+
2241+
- *delimiter*: is the character(s) separating row items
2242+
2243+
- *names*: if not None, is a list of header names. In this case, no
2244+
header will be read from the file
22352245
22362246
If *newfig* is *True*, the plot always will be made in a new figure;
22372247
if *False*, it will be made in the current figure if one exists,

0 commit comments

Comments
 (0)