pysdic.Plotter3D.set_title#

Plotter3D.set_title(title, *, font_size=None, color=None, font_family=None)[source]#

Add a title to the plotter.

Parameters:
  • title (Optional[str]) – The text of the title. If None, no title is added.

  • font_size (Optional[int], optional) – The font size of the title text. Default is set by PyVista.

  • color (Optional[Union[str, Tuple[Real, Real, Real]]], optional) – The color of the title text. Can be a string representing a color name (e.g., "black"), or an RGB tuple or hex string. Default is set by PyVista.

  • font_family (Optional[str], optional) – The font type of the title text. Must be one of "arial", "courier", and "times". Default is set by PyVista.

Return type:

None