pyvista.Property.edge_color#

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.

Examples

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()
../../../_images/pyvista-Property-edge_color-1_00_00.png

Visualize red edges.

>>> prop.edge_color = 'red'
>>> prop.plot()
../../../_images/pyvista-Property-edge_color-1_01_00.png