MeshPlotter.draw_edges

MeshPlotter.draw_edges(keys=None, width=None, color=None, text=None, textcolor=None, fontsize=None)[source]

Draws the mesh edges.

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

  • width ({float, dict}) – Width of the mesh edges.

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

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

  • textcolor (rgb tuple or dict of rgb tuples) – Color for the text to be displayed on the edges.

  • fontsize (int or dict of int.) – Font size for the text to be displayed on the edges.

Returns

object – The matplotlib edge collection object.