Skip to content

Commit

Permalink
Rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
J535D165 committed Sep 28, 2024
1 parent 0deca25 commit 867d66b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asreviewcontrib/insights/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def _plot_recall(
ax = _add_random_curve(ax, labels, x_absolute, y_absolute)

if show_optimal:
ax = _add_optimal_curve(ax, labels, x_absolute, y_absolute)
ax = _add_optimal_recall(ax, labels, x_absolute, y_absolute)

if show_legend:
if legend_kwargs is None:
Expand Down Expand Up @@ -406,7 +406,7 @@ def _add_random_curve(ax, labels, x_absolute, y_absolute):
return ax


def _add_optimal_curve(ax, labels, x_absolute, y_absolute):
def _add_optimal_recall(ax, labels, x_absolute, y_absolute):
"""Add a optimal recall to a plot using step-wise increments.
Returns
Expand Down

0 comments on commit 867d66b

Please sign in to comment.