---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-10-d24b139c4542> in <module>()
----> 1 pm.Matplot.plot(m)
/Users/blarsen/miniconda3/envs/python3/lib/python3.4/site-packages/pymc/Matplot.py in wrapper(pymc_obj, *args, **kwargs)
339 if args:
340 name = '%s_%s' % (args[0], variable.__name__)
--> 341 f(data, name, *args, **kwargs)
342 return
343 except AttributeError:
/Users/blarsen/miniconda3/envs/python3/lib/python3.4/site-packages/pymc/Matplot.py in plot(data, name, format, suffix, path, common_scale, datarange, new, last, rows, num, fontmap, verbose)
453 num=num * 2,
454 last=last,
--> 455 fontmap=fontmap)
456
457 if last:
/Users/blarsen/miniconda3/envs/python3/lib/python3.4/site-packages/pymc/Matplot.py in wrapper(pymc_obj, *args, **kwargs)
375
376 # If others fail, assume that raw data is passed
--> 377 f(pymc_obj, *args, **kwargs)
378
379 wrapper.__doc__ = f.__doc__
/Users/blarsen/miniconda3/envs/python3/lib/python3.4/site-packages/pymc/Matplot.py in histogram(data, name, bins, datarange, format, suffix, path, rows, columns, num, last, fontmap, verbose)
576
577 # Generate histogram
--> 578 hist(data.tolist(), bins, histtype='stepfilled')
579
580 xlim(datarange)
/Users/blarsen/miniconda3/envs/python3/lib/python3.4/site-packages/matplotlib/pyplot.py in hist(x, bins, range, normed, weights, cumulative, bottom, histtype, align, orientation, rwidth, log, color, label, stacked, hold, data, **kwargs)
2956 histtype=histtype, align=align, orientation=orientation,
2957 rwidth=rwidth, log=log, color=color, label=label,
-> 2958 stacked=stacked, data=data, **kwargs)
2959 finally:
2960 ax.hold(washold)
/Users/blarsen/miniconda3/envs/python3/lib/python3.4/site-packages/matplotlib/__init__.py in inner(ax, *args, **kwargs)
1810 warnings.warn(msg % (label_namer, func.__name__),
1811 RuntimeWarning, stacklevel=2)
-> 1812 return func(ax, *args, **kwargs)
1813 pre_doc = inner.__doc__
1814 if pre_doc is None:
/Users/blarsen/miniconda3/envs/python3/lib/python3.4/site-packages/matplotlib/axes/_axes.py in hist(self, x, bins, range, normed, weights, cumulative, bottom, histtype, align, orientation, rwidth, log, color, label, stacked, **kwargs)
6008 # this will automatically overwrite bins,
6009 # so that each histogram uses the same bins
-> 6010 m, bins = np.histogram(x[i], bins, weights=w[i], **hist_kwargs)
6011 m = m.astype(float) # causes problems later if it's an int
6012 if mlast is None:
/Users/blarsen/miniconda3/envs/python3/lib/python3.4/site-packages/numpy/lib/function_base.py in histogram(a, bins, range, normed, weights, density)
503 if not np.all(np.isfinite([mn, mx])):
504 raise ValueError(
--> 505 'range parameter must be finite.')
506 if mn == mx:
507 mn -= 0.5
ValueError: range parameter must be finite.