[vistrails-dev] [VisTrails] examples/matplotlib/pcolor.vt fails on matplotlib 1.4.3 (#1132)

Tommy Ellqvist notifications at github.com
Wed Oct 7 09:18:22 EDT 2015


It looks like the arguments to pcolor are now stricter but I am not sure how to create valid input data.

```
  errorTrace: Traceback (most recent call last):
  File "C:\Program Files\VisTrails x64 gdal\vistrails\core\modules\vistrails_module.py", line 573, in update
    self.compute()
  File "C:\Program Files\VisTrails x64 gdal\vistrails\packages\matplotlib\bases.py", line 107, in compute
    plot(self.figInstance)
  File "C:\Program Files\VisTrails x64 gdal\vistrails\packages\matplotlib\plots.py", line 3037, in <lambda>
    args, kwargs))
  File "C:\Program Files\VisTrails x64 gdal\vistrails\packages\matplotlib\plots.py", line 3040, in plot_figure
    polyCollection = matplotlib.pyplot.pcolor(*args, **kwargs)
  File "C:\Program Files\VisTrails x64 gdal\Python27_64\lib\site-packages\matplotlib\pyplot.py", line 3018, in pcolor
    ret = ax.pcolor(*args, **kwargs)
  File "C:\Program Files\VisTrails x64 gdal\Python27_64\lib\site-packages\matplotlib\axes\_axes.py", line 4889, in pcolor
    X, Y, C = self._pcolorargs('pcolor', *args, allmatch=False)
  File "C:\Program Files\VisTrails x64 gdal\Python27_64\lib\site-packages\matplotlib\axes\_axes.py", line 4692, in _pcolorargs
    numRows, numCols = C.shape
AttributeError: 'list' object has no attribute 'shape'
```

---
Reply to this email directly or view it on GitHub:
https://github.com/VisTrails/VisTrails/issues/1132
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vistrails.org/pipermail/vistrails-dev/attachments/20151007/e76fd106/attachment.html>


More information about the vistrails-dev mailing list