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

revert to figure.set_tight_layout(True)

parent 2a839b13
......@@ -121,7 +121,7 @@ def _plot_roc(frrs, colors, labels, title, fontsize=18, position=None, farfrrs=N
pyplot.grid(True, color=(0.6,0.6,0.6))
pyplot.legend(loc=position, prop = {'size':fontsize})
pyplot.title(title)
pyplot.tight_layout()
figure.set_tight_layout(True)
return figure
......@@ -147,7 +147,7 @@ def _plot_det(dets, colors, labels, title, fontsize=18, position=None):
pyplot.ylabel('FNMR (%)')
pyplot.legend(loc=position, prop = {'size':fontsize})
pyplot.title(title)
pyplot.tight_layout()
figure.set_tight_layout(True)
return figure
......@@ -194,7 +194,7 @@ def _plot_epc(scores_dev, scores_eval, colors, labels, title, fontsize=18, posit
pyplot.title(title)
pyplot.xlim([-0.01, 1.01])
pyplot.ylim([0, 51])
pyplot.tight_layout()
figure.set_tight_layout(True)
return figure
......
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