pyvista.GIFReader

Contents

pyvista.GIFReader#

class GIFReader(*args, **kwargs)[source]#

GIFReader for .gif files.

Parameters:
pathstr

Path of the GIF to read.

Examples

>>> import pyvista as pv
>>> from pyvista import examples
>>> filename = examples.download_gif_simple(load=False)
>>> filename.split("/")[-1]  # omit the path
'sample.gif'
>>> reader = pv.get_reader(filename)
>>> mesh = reader.read()
>>> mesh.plot(rgba=True, zoom='tight', border=True, border_width=2)
../../../_images/pyvista-GIFReader-1_00_00.png

Methods

Attributes