tlpipe.plot.plot_waterfall.Plot.stop_iteration

Plot.stop_iteration(force_stop=False)[source]

Determine whether to stop the iteration.

Return True if this is the second iteration in the non-iterable case, or when run out of the given iteration numbers in the iterable case, or when force_stop is True.