property Property.edge_color: Color[source]#

Return or set the edge color of this property.

The solid color to give the edges when show_edges=True. Either a string, RGB list, or hex color string.


Get the default edge color and visualize it. Set the edge’s visibility to True so we can see them.

>>> import pyvista as pv
>>> prop = pv.Property()
>>> prop.edge_color
Color(name='black', hex='#000000ff', opacity=255)
>>> prop.show_edges = True
>>> prop.plot()

Visualize red edges.

>>> prop.edge_color = 'red'
>>> prop.plot()