Theme.border_color

Theme.border_color#

property Theme.border_color: Color[source]#

Return or set the default border color of a plotter.

Added in version 0.49.

This is the color of the frame drawn around the outer edge of the plotting area when a Plotter is constructed with border=True, and/or of the line(s) drawn between subplots when a plotter has more than one renderer and subplot_seams=True (the default for multi-subplot layouts). Used whenever no explicit border_color is provided.

Examples#

Download Python source code | Download Jupyter notebook

>>> import pyvista as pv
>>> pv.global_theme.border_color = 'white'