vispipe.plot_backend.MPL_Figure.triplot#

MPL_Figure.triplot(*meshdata, bbox=None, ax=None, **trikwargs)#

Call ax.triplot()

Parameters:
  • *meshdata (triangulation | np.ndarray,np.ndarray) – matplotlib triangulation of the grid or raw nodes and elemcomps.

  • bbox (tuple[float, float, float, float] | None) – typing.Iterable containing x0,y0,x1,y1 where point 0 is the bottem left and point 1 is the top right of the bounding box.

  • ax (Axes | None) – Axes to plot onto. If None self.gca() is called.

  • **trikwargs – Keyword arguments passed to ax.triplot().

Return type:

tuple[Line2D, Line2D]

Returns:

  • Lines (Line2d) – Lines generated by ax.triplot().

  • Markers (Line2d) – The markers at each node.