MeshPlotter.draw_faces

MeshPlotter.draw_faces(keys=None, text=None, facecolor=None, edgecolor=None, edgewidth=None, textcolor=None, fontsize=None)[source]

Draws the mesh faces.

Parameters
  • keys (list) – The keys of the edges to plot.

  • text ({{‘index’, ‘key’}, str, dict}) – Strings to be displayed on the edges.

  • facecolor ({color, dict}) – Color for the face fill.

  • edgecolor ({color, dict}) – Color for the face edge.

  • edgewidth ({float, dict}) – Width for the face edge.

  • textcolor ({color, dict}) – Color for the text to be displayed on the edges.

  • fontsize ({int, dict}) – Font size for the text to be displayed on the edges.

Returns

object – The matplotlib face collection object.