moscot.backends.ott.GraphOTTOutput.plot_errors¶
- GraphOTTOutput.plot_errors(last=None, title=None, outer_iteration=-1, return_fig=False, figsize=None, dpi=None, save=None, ax=None, **kwargs)¶
Plot errors along iterations.
- Parameters:
last (
Optional[int]) – Number of errors corresponding at thelaststeps of the algorithm to plot. IfNone, plot the full curve.title (
Optional[str]) – Title of the plot. IfNone, it is determined automatically.outer_iteration (
int) – Which outermost iteration’s errors to plot. Only used when this is the solution to the quadratic problem.return_fig (
bool) – Whether to return the figure.figsize (
Optional[Tuple[float,float]]) – Size of the figure.kwargs (
Any) – Keyword arguments formatplotlib.axes.Axes.plot().
- Return type:
- Returns:
: If
return_fig = True, return the figure.