pyvista.plotting.themes._AxesConfig.x_color#

property _AxesConfig.x_color: Color[source]#

Return or set x-axis color.

Examples

Get the default x-axis color

>>> import pyvista as pv
>>> pv.global_theme.axes.x_color
Color(name='tomato', hex='#ff6347ff', opacity=255)

Change the default color. >>> pv.global_theme.axes.x_color = ‘red’