[yt-dev] Issue #880: Infinite recursion when plotting unit'd things (yt_analysis/yt)
Adam Ginsburg
issues-reply at bitbucket.org
Fri Aug 15 11:04:58 PDT 2014
New issue 880: Infinite recursion when plotting unit'd things
https://bitbucket.org/yt_analysis/yt/issue/880/infinite-recursion-when-plotting-unitd
Adam Ginsburg:
When attempting to plot a `TransferFunctionHelper`, I ran into an infinite recursion error:
```
tfh.plot(fn='tf.png')
File "/Users/adam/anaconda/envs/astropy27/lib/python2.7/site-packages/yt/units/yt_array.py", line 1135, in __new__
if not isinstance(input_scalar, (numeric_type, np.number, np.ndarray)):
File "/Users/adam/anaconda/envs/astropy27/python.app/Contents/lib/python2.7/abc.py", line 132, in __instancecheck__
if subclass is not None and subclass in cls._abc_cache:
File "/Users/adam/anaconda/envs/astropy27/python.app/Contents/lib/python2.7/_weakrefset.py", line 75, in __contains__
return wr in self.data
RuntimeError: maximum recursion depth exceeded in cmp
```
@ngoldbaum tells me this is a matplotlib 1.3.1 issue.
Responsible: ngoldbaum
More information about the yt-dev
mailing list