pyvista.plotting.themes._Font.fmt

Contents

pyvista.plotting.themes._Font.fmt#

property _Font.fmt: str[source]#

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 as pv
>>> pv.global_theme.font.fmt = '%.6e'