Closed sjsrey closed 9 years ago
In [14]:
srv = pd.Series(mr.sim) f = figure() ax = f.add_subplot(111) srv.plot(kind='kde', ax=ax) axvline(mr.I, color='r') xlabel('I') ylabel('f(I)')
UnboundLocalError Traceback (most recent call last)
Fix consists of upgrading pandas:
sudo /Library/Frameworks/Python.framework/Versions/7.3/bin/easy_install -U pandas
In [14]:
srv = pd.Series(mr.sim) f = figure() ax = f.add_subplot(111) srv.plot(kind='kde', ax=ax) axvline(mr.I, color='r') xlabel('I') ylabel('f(I)')
title('Empirical distribution and value of $Ir$')
UnboundLocalError Traceback (most recent call last)