verts

PolyMesh.verts(style=None, size=None, color=None)[source]

Vertex display.

Set visual properties of vertices.

Parameters:
  • style (str, optional) – Either ‘points’ or ‘spheres’, False to disable.

  • size (int, optional) – Size in pixels.

  • color (array_like, shape (3, ), optional) – Vertex color.

Note

Parameters with a None value do not affect the corresponding vertex display property.

Important

On some rendering backends vertex display only works when edges are displayed. For now use scatter() as a work-around.