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

>>> import pyvista as pv
>>> prop = pv.Property()
>>> prop.edge_color = 'red'
>>> prop.edge_color
Color(name='red', hex='#ff0000ff', opacity=255)

Visualize red edges. Set the edge’s visibility to True so we can see them.

>>> prop.show_edges = True
>>> prop.edge_color = 'red'
>>> prop.plot()
https://d33wubrfki0l68.cloudfront.net/a02901b9e802aec1188a6a652a245e221dd810fe/7b4d0/_images/pyvista-property-edge_color-1_00_00.png