https://matplotlib.org/api/_as_gen/matplotlib.lines.Line2D.html#matplotlib.lines.Line2D
属性 | 描述 |
---|---|
agg_filter | a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array |
alpha | float (0.0 transparent through 1.0 opaque) |
animated | bool |
antialiasedor aa | bool |
clip_box | aBboxinstance |
clip_on | bool |
clip_path | [(Path,Transform) ;Patch; None] |
coloror c | any matplotlib color |
contains | a callable function |
dash_capstyle | [‘butt’ ; ‘round’ ; ‘projecting’] |
dash_joinstyle | [‘miter’ ; ‘round’ ; ‘bevel’] |
dashes | sequence of on/off ink in points |
drawstyle | [‘default’ ; ‘steps’ ; ‘steps-pre’ ; ‘steps-mid’ ; ‘steps-post’] |
figure | aFigureinstance |
fillstyle | [‘full’ ; ‘left’ ; ‘right’ ; ‘bottom’ ; ‘top’ ; ‘none’] |
gid | an id string |
label | object |
linestyleor ls | 可选样式 [‘solid’ ; ‘dashed’, ‘dashdot’, ‘dotted’ ; (offset, on-off-dash-seq) ;’-‘;’–’;’-.’;’:’;’None’;”;”] |
linewidthor lw | float value in points |
marker | Avalidmarkerstyle |
markeredgecoloror mec | any matplotlib color |
markeredgewidthor mew | float value in points |
markerfacecoloror mfc | any matplotlib color |
markerfacecoloraltor mfcalt | any matplotlib color |
markersizeor ms | float |
markevery | [None ; int ; length-2 tuple of int ; slice ; list/array of int ; float ; length-2 tuple of float] |
path_effects | AbstractPathEffect |
picker | float distance in points or callable pick functionfn(artist,event) |
pickradius | float distance in points |
rasterized | bool or None |
sketch_params | (scale: float, length: float, randomness: float) |
snap | bool or None |
solid_capstyle | [‘butt’ ; ‘round’ ; ‘projecting’] |
solid_joinstyle | [‘miter’ ; ‘round’ ; ‘bevel’] |
transform | amatplotlib.transforms.Transforminstance |
url | a url string |
visible | bool |
xdata | 1D array |
ydata | 1D array |
zorder | float |