add_text#

PrimePlotter.add_text(text, **kwargs)#

Add a text annotation to the scene.

Parameters:
  • text (str) – Text to display.

  • **kwargs (dict, default: None) – Keyword arguments passed to scene.add_text().

Return type:

pyvista.Actor

Returns:

Actor holding the text.

Examples using PrimePlotter.add_text#

Using PyVista for Graphics in PyPrimeMesh

Using PyVista for Graphics in PyPrimeMesh