# Examples from pyvista.plotting.themes.Theme.font
# ================================================

# Set the default font family to 'arial'.  Must be either
# 'arial', 'courier', or 'times'.
import pyvista as pv
pv.global_theme.font.family = 'arial'

# Set the default font size to 20.
pv.global_theme.font.size = 20

# Set the default title size to 40.
pv.global_theme.font.title_size = 40

# Set the default label size to 10.
pv.global_theme.font.label_size = 10

# Set the default text color to 'grey'.
pv.global_theme.font.color = 'grey'

# String formatter used to format numerical data to '{:.6e}'.
pv.global_theme.font.fmt = '{:.6e}'

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

