fmt

property _Font.fmt: str

Return or set the string formatter used to format numerical data.

Examples

Set the string formatter used to format numerical data to ‘%.6e’.

>>> import pyvista
>>> pyvista.global_theme.font.fmt = '%.6e'