diff --git a/bob/ip/binseg/utils/plot.py b/bob/ip/binseg/utils/plot.py index f69df6e0473f6f4e8149354d78741ff98a2c809a..d87de5f5bf3b2d014f6a3415e23ee6a7e68774db 100644 --- a/bob/ip/binseg/utils/plot.py +++ b/bob/ip/binseg/utils/plot.py @@ -59,7 +59,7 @@ def precision_recall_f1iso(precision, recall, names, title=None): opi = pi[argmax] ori = ri[argmax] # Plot Recall/Precision as threshold changes - ax1.plot(ri[pi>0], pi[pi>0], next(linecycler), label='[F={:.3f}] {}'.format(f1.max(), n),) + ax1.plot(ri[pi>0], pi[pi>0], next(linecycler), label='[F={:.4f}] {}'.format(f1.max(), n),) ax1.plot(ori,opi, marker='o', linestyle=None, markersize=3, color='black') ax1.grid(linestyle='--', linewidth=1, color='gray', alpha=0.2) if len(names) > 1: