_Font.title_size#
- property _Font.title_size: int | None[source]#
Return or set the title size.
A scalar bar draws its title at this size; a box drawn around a horizontal bar that is too narrow for it, or given too small a height, shrinks it to fit. Where this and
label_sizeare bothNone, every size is fitted to the bar the text is drawn on.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> pv.global_theme.font.title_size = 20