These are chat archives for thunder-project/thunder

5th
Jun 2015
wolfbill
@wolfbill
Jun 05 2015 09:04
how to graph a 3-dimension ?
wolfbill
@wolfbill
Jun 05 2015 09:11

In [19]:

image(data1_3d[:,:,:])

Exception Traceback (most recent call last)

<ipython-input-19-f92ab25e6b2b> in <module>()
----> 1 image(data1_3d[:,:,:]).shape2

/tmp/spark-add7d7ff-62b5-4602-ae5c-930e964ed492/userFiles-c9aac055-94d5-4172-ae27-e8c1048992f5/thunder_python-0.5.0-py2.7.egg/thunder/viz/colorize.py in image(img, cmap, bar, nans, clim)
80 raise Exception("Cannot show meaningful colorbar for RGB images")
81 if img.shape2 != 3:
---> 82 raise Exception("Size of third dimension must be 3 for RGB images, got %g" % img.shape2)
83 mn = img.min()
84 mx = img.max()

Exception: Size of third dimension must be 3 for RGB images, got 2048
\