Skip to content

Commit

Permalink
fix report roc plot axis labelling (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpreen authored Apr 24, 2024
1 parent 3d76a44 commit 795db10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aisdc/attacks/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ def _roc_plot_single(metrics, save_name):
plt.xscale("log")
plt.yscale("log")
plt.grid()
plt.xlabel("True Positive Rate")
plt.ylabel("False Positive Rate")
plt.ylabel("True Positive Rate")
plt.xlabel("False Positive Rate")
plt.tight_layout()
plt.savefig(save_name)

Expand Down

0 comments on commit 795db10

Please sign in to comment.