Re: Problem with imshow in version 3.2.0

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: Problem with imshow in version 3.2.0


I am facing a similar problem. Find and replace of with fixes the problem for me.


I'm having some trouble with the adjustment of the extent of imshow. I would like to scale the image, but this doesn't work:


this leads to following error:
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/tools/", line 32, in the_function
    return pipeline(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/tools/", line 69, in __call__
    return self.build_pipeline()
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/tools/", line 97, in build_pipeline
    object = pipe(object, **this_kwargs)._target
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/tools/", line 149, in __init__
    super(DataModuleFactory, self).__init__(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/tools/", line 150, in __init__
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/tools/", line 166, in set
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/tools/", line 91, in _extent_changed
    tools.set_extent(self._target, self.extent)
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/tools/", line 270, in set_extent
    xmin, xmax, ymin, ymax, zmin, zmax =
AttributeError: 'ImageActor' object has no attribute 'actor'

if anybody has a clue where the problem is, i would be grateful to let me know.

Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher!

Enthought-Dev mailing list
[hidden email]