Skip to content

Commit

Permalink
fix history plot
Browse files Browse the repository at this point in the history
  • Loading branch information
BeGeiger committed Dec 21, 2023
1 parent a7ffc63 commit 03fd523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/salamander/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def history_plot(values, conv_test_freq, min_iteration=0, ax=None, **kwargs):
)
if ax is None:
_, ax = plt.subplots(figsize=(4, 4))
ax.set(xlabel="n_iteration", ylabel="objective function value")

ax.set(xlabel="n_iteration", ylabel="objective function value")
min_index = next(
idx
for idx, n_iteration in enumerate(ns_iteration)
Expand Down

0 comments on commit 03fd523

Please sign in to comment.