Menu

Python Sparse data Analysis Package

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.

pysap.data.progress_bar(ratio, title, bar_length=20, maxsize=40)[source]ΒΆ

Generate a progress bar

Parameters

ratio : float (mandatory)

the progress status (0<=ratio<1)

fname : str (optional)

the name of the file beeing dowloaded

bar_length : int (optional)

the size of the progress bar

maxsize : int (optional)

use to justify title.

Follow us

© 2019, Antoine Grigis Samuel Farrens Jean-Luc Starck Philippe Ciuciu