Plotter.add

Plotter.add(item: Primitive | Network | Mesh, artist: PlotterArtist | None = None, **kwargs) PlotterArtist[source]

Add a COMPAS geometry object or data structure to the plot.

Parameters:
  • item – A COMPAS geometric primitive, network, or mesh.

  • artist – Type of artist to use for drawing.

Returns:

PlotterArtist