MeshPlotter.draw_polylines
-
MeshPlotter.
draw_polylines
(polylines) Draw polylines on a 2D plot.
- Parameters
polylines (list of dict) – A list of dictionaries containing the polyline properties. The following properties are supported:
points (list): XY(Z) coordinates of the polygon vertices.
text (str, optional): The text of the label. Default is
None
.textcolor (rgb tuple or hex string, optional): Color of the label text. Default is black.
fontsize (int, optional): The size of the font of the label text. Default is
`12
.facecolor (rgb tuple or hex string, optional): Color of the polygon face. Default is white.
edgecolor (rgb tuple or hex string, optional): Color of the edge of the polygon. Default is black.
edgewidth (float): Width of the polygon edge. Default is
1.0
.
- Returns
object – The matplotlib polyline collection object.