pyvista.BaseReader.show_progress#
- BaseReader.show_progress(msg=None)[source]#
Show a progress bar when loading the file.
- Parameters:
- msg
str
,optional
Progress bar message. Defaults to
"Reading <file base name>"
.
- msg
Examples
>>> import pyvista as pv >>> from pyvista import examples >>> filename = examples.download_cavity(load=False) >>> reader = pv.OpenFOAMReader(filename) >>> reader.show_progress()