Add ordinal and attempt to fix downloads

This commit is contained in:
Neil Lawrence 2014-05-13 12:17:42 +01:00
parent c138ee868f
commit db644408ea
5 changed files with 87 additions and 3 deletions

View file

@ -97,7 +97,7 @@ def plot_latent(model, labels=None, which_indices=None,
elif type(ul) is np.int64:
this_label = 'class %i' % ul
else:
this_label = unicode(i)
this_label = unicode(ul)
m = marker.next()
index = np.nonzero(labels == ul)[0]