plot_ARD greatly improved, crossterm plotting enabled

This commit is contained in:
Max Zwiessele 2013-07-17 17:50:11 +01:00
parent 06d540f056
commit a65c5a9419

View file

@ -119,7 +119,7 @@ class kern(Parameterized):
ax.set_xlim(-.5, x0 - .5)
if title is '':
ax.legend(bbox_to_anchor=(0., 1.02, 1., .102), loc=3,
ncol=len(bars), mode="expand", borderaxespad=0.)
ncol=max(2, len(bars)), mode="expand", borderaxespad=0.)
else:
ax.legend()
return ax