def METHOD_NAME(self, total=None):
    """
    Resets to 0 iterations for repeated use.
    Parameters
    ----------
    total  : int or float, optional. Total to use for the new bar.
    """
    if hasattr(self, '_tk_pbar'):
        if total is None:
            self._tk_pbar.configure(maximum=100, mode="indeterminate")
        else:
            self._tk_pbar.configure(maximum=total, mode="determinate")
    super(tqdm_tk, self).METHOD_NAME(total=total)