VolMeshArtist.draw_cells

abstract VolMeshArtist.draw_cells(cells=None, color=None, text=None)[source]

Draw the cells of the mesh.

Parameters
  • cells (list[int], optional) – The cells to include in the drawing. Default is all cells.

  • color (tuple[float, float, float] | dict[int, tuple[float, float, float]], optional) – The color of the cells, as either a single color to be applied to all cells, or a color dict, mapping specific cells to specific colors.

  • text (dict[int, str], optional) – The text labels for the cells as a text dict, mapping specific cells to specific text labels.

Returns

list – The identifiers of the objects representing the cells in the visualization context.