Skip to content

Commit

Permalink
[ENH] Add argument for axis labels to plot_scatter in _figures_for_st…
Browse files Browse the repository at this point in the history
…atistic (#305)

* add arg to plot

* Automatic `pre-commit` fixes

---------

Co-authored-by: TonyBagnall <[email protected]>
  • Loading branch information
TonyBagnall and TonyBagnall authored Nov 12, 2024
1 parent 63b53ea commit 6448cb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tsml_eval/evaluation/multiple_estimator_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,9 @@ def _figures_for_statistic(
f"{save_path}/{statistic_name}/figures/scatters/{est1}/", exist_ok=True
)

scatter, _ = plot_pairwise_scatter(scores[:, i], scores[:, n], est1, est2)
scatter, _ = plot_pairwise_scatter(
scores[:, i], scores[:, n], est1, est2, metric=statistic_name.upper()
)
scatter.savefig(
f"{save_path}/{statistic_name}/figures/scatters/{est1}/"
f"{eval_name}_{statistic_name.lower()}_scatter_{est1}_{est2}.pdf",
Expand Down

0 comments on commit 6448cb8

Please sign in to comment.