On Thu, Mar 22, 2012 at 6:54 PM, Yun Tao <[email protected]> wrote: > > 188 _Viewer.__init__(self, vars=vars, title=title, **kwlimits) >> 189 >> --> 190 import pylab >> 191 >> 192 pylab.ion() >> /Users/yuntao/Desktop/modules/pylab.py in <module>() >> > pect, cmap, colorbar, axes, log, **kwlimits) >
You have a file named pylab.py in /Users/yuntao/Desktop/modules, which is obviously being imported instead of the regular matplotlib version of pylab.py. Do you have your PYTHONPATH set? Maybe if the PYTHONPATH doesn't have "." in it then it might work, but maybe just rename the pylab.py file to something else assuming it is a file that you created that happens to have a name clash. Cheers -- Daniel Wheeler
_______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
