logo_file#
- property MapdlTheme.logo_file: str | None#
Return or set the logo file.
Note
pyvista.Plotter.add_logo_widget()
will default to PyVista’s logo if this is unset.Examples
Set the logo file to a custom logo.
>>> import pyvista as pv >>> from pyvista import examples >>> logo_file = examples.download_file('vtk.png') >>> pv.global_theme.logo_file = logo_file
Now the logo will be used by default for
pyvista.Plotter.add_logo_widget()
.>>> pl = pv.Plotter() >>> _ = pl.add_logo_widget() >>> _ = pl.add_mesh(pv.Sphere(), show_edges=True) >>> pl.show()