color="r", lw=1,
label="True minimum")
plt.title("Convergence plot")
plt.xlabel("Number of calls $n$")
plt.ylabel(r"$\min f(x)$ after $n$ calls")
plt.grid()
After Change
The scale for the y-axis.
// <3 legacy python
ax = kwargs.get("ax", None)
true_minimum = kwargs.get("true_minimum", None)
yscale = kwargs.get("yscale", None)
if ax is None: