Skip to content

Commit

Permalink
adapt plot_convergence
Browse files Browse the repository at this point in the history
  • Loading branch information
MUCDK committed Feb 3, 2023
1 parent 1f36cd1 commit fab5b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/moscot/backends/ott/_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def select_values(last_k: Optional[int] = None) -> Tuple[str, jnp.ndarray, jnp.n
kind, values, xs = select_values(last_k)

ax.plot(xs, values, **kwargs)
ax.set_xlabel("iteration")
ax.set_xlabel("iteration (logged)")
ax.set_ylabel(kind)
if title is None:
title = "converged" if self.converged else "not converged" # type: ignore[attr-defined]
Expand Down

0 comments on commit fab5b94

Please sign in to comment.