pyvista.examples.examples.load_logo#
- load_logo()[source]#
Load the PyVista logo as a
pyvista.ImageData
.Note
Alternative versions of the logo file are also available from the
logo
directory at pyvista/pyvista. This includes higher-resolution.png
files and a vectorized.svg
version.Changed in version 0.45: The dimensions of the image is now
1389 x 592
. Previously, it was1920 x 718
.- Returns:
pyvista.ImageData
ImageData of the PyVista logo.
Examples
>>> from pyvista import examples >>> image = examples.load_logo() >>> image.dimensions (1389, 592, 1)
>>> image.plot(cpos='xy', zoom='tight', rgb=True, show_axes=False)
See also
- Logo Dataset
See this dataset in the Dataset Gallery for more info.