drawConnectedLines¶
- emlib.matplotting.drawConnectedLines(ax, pairs, connectEdges=False, color=None, alpha=None, linewidth=None, label=None, linestyle=None, profile=None)[source]¶
Draw an open / closed poligon
- Parameters:
ax (
Axes
) – the plot axespairs (
list
[tuple
[float
,float
]]) – a list of (x, y) pairsconnectEdges – close the form, connecting start end end points
color (
Union
[float
,tuple
,None
]) – the color to use. A float selects a color from the current color mapalpha (
Optional
[float
]) – alpha value of the lineslinewidth (
Optional
[float
]) – the line widthlabel (
Optional
[str
]) – an optional label to attach to the start of the lineslinestyle (
Optional
[str
]) – the line style, one of “solid”, “dashed”profile (
Optional
[dict
]) – the profile used, or None for default
- Return type:
None