Skip to content

Commit

Permalink
Add as standard to recall graph
Browse files Browse the repository at this point in the history
  • Loading branch information
jteijema committed Aug 20, 2024
1 parent 72772e0 commit 71216f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,4 @@ dmypy.json
.pyre/

# End of https://www.gitignore.io/api/python
/env
4 changes: 3 additions & 1 deletion asreviewcontrib/insights/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ def plot_recall(
If False, the fraction of all included records found is on the y-axis.
show_random: bool
Show the random curve in the plot.
show_perfect: bool
Show the perfect curve in the plot.
show_legend: bool
If state_obj contains multiple states, show a legend in the plot.
legend_values: list[str]
Expand Down Expand Up @@ -62,7 +64,7 @@ def plot_recall(
x_absolute=x_absolute,
y_absolute=y_absolute,
show_random=show_random,
show_perfect=True,
show_perfect=show_perfect,
show_legend=show_legend,
legend_values=legend_values,
legend_kwargs=legend_kwargs,
Expand Down

0 comments on commit 71216f2

Please sign in to comment.