Commit d5b7d26c authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Should fix issue 14

parent 6705db63
Pipeline #3511 passed with stages
in 17 minutes and 45 seconds
...@@ -86,12 +86,12 @@ def main(command_line_options = None): ...@@ -86,12 +86,12 @@ def main(command_line_options = None):
mpl.xlim([1, max_rank]) mpl.xlim([1, max_rank])
else: else:
plot.detection_identification_curve(data, rank = args.rank, color=(0,0,1), linestyle='--', dashes=(6,2), logx = args.log_x_scale) plot.detection_identification_curve(data, rank = args.rank, color=(0,0,1), linestyle='--', dashes=(6,2), logx = args.log_x_scale)
mpl.title("Detection & Identification Curve") mpl.title("Detection \& Identification Curve")
if args.log_x_scale: if args.log_x_scale:
mpl.xlabel('False Acceptance Rate (log) in %') mpl.xlabel('False Acceptance Rate (log) in %')
else: else:
mpl.xlabel('False Acceptance Rate in %') mpl.xlabel('False Acceptance Rate in %')
mpl.ylabel('Detection & Identification Rate in %') mpl.ylabel('Detection \& Identification Rate in %')
ticks = ["%s"%(t*100) for t in mpl.xticks()[0]] ticks = ["%s"%(t*100) for t in mpl.xticks()[0]]
mpl.xticks(mpl.xticks()[0], ticks) mpl.xticks(mpl.xticks()[0], ticks)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment