VolMeshArtist.draw_cells

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

Draw the cells of the mesh.

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

  • color (tuple or dict, 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, optional) – The text labels for the cells as a text dict, mapping specific cells to specific text labels.