vispipe.plot_backend.MPL_Figure.line#

MPL_Figure.line(points, *args, T=False, ax=None, **linekwargs)#

Calls ax.plot()

Parameters:
  • Points (np.ndarray) – Array of x and y coordinates. Array should have shape (2,n)

  • T (bool) – If True the points array is transposed. Used for arrays with shape (n,2)

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

  • *args – Arguments passed to ax.plot()

  • **linekwargs – Keyword arguments passed to ax.plot()

Return type:

list[Line2D]

Returns:

The line artists for the data.