pyvista.BaseReader.show_progress#

BaseReader.show_progress(msg=None)[source]#

Show a progress bar when loading the file.

Parameters:
msgstr, optional

Progress bar message. Defaults to "Reading <file base name>".

Examples

>>> import pyvista as pv
>>> from pyvista import examples
>>> filename = examples.download_cavity(load=False)
>>> reader = pv.OpenFOAMReader(filename)
>>> reader.show_progress()