array core and bgplvm working > changes due to __i<op>__ will now be reported

This commit is contained in:
Max Zwiessele 2014-02-11 16:54:33 +00:00
parent 4cfc13d5fc
commit 9d262936c6
10 changed files with 177 additions and 54 deletions

View file

@ -14,14 +14,14 @@ def plot(parameterized, fignum=None, ax=None, colors=None):
"""
if ax is None:
fig = pb.figure(num=fignum, figsize=(8, min(12, (2 * parameterized.means.shape[1]))))
fig = pb.figure(num=fignum, figsize=(8, min(12, (2 * parameterized.mean.shape[1]))))
if colors is None:
colors = pb.gca()._get_lines.color_cycle
pb.clf()
else:
colors = iter(colors)
plots = []
means, variances = param_to_array(parameterized.means, parameterized.variances)
means, variances = param_to_array(parameterized.mean, parameterized.variance)
x = np.arange(means.shape[0])
for i in range(means.shape[1]):
if ax is None: