Fred,
Cleaning out old mail, I came across this thread. I know it is not
exactly what you were requesting, but I still think it meets the need
you describe: in svn 4936 I moved _interpd and _interpdr from __init__
to the class attribute level, and added a public class attribute,
AxesImage.int
Eric Firing a écrit :
>
> I don't understand; it seems to me that all you need is
> _interpd.keys(), and since this is specific to AxesImage, it should be
> an attribute of that class, say AxesImage.interpolations. You can't
> add interpolation methods, and they have no meaning outside AxesImag
fred wrote:
> Eric Firing a écrit :
>> Fred,
>>
>> In image.py, the AxesImage.__init__() includes:
>>
>>self._interpd = {
>> 'nearest' : _image.NEAREST,
>> 'bilinear' : _image.BILINEAR,
>> 'bicubic' : _image.BICUBIC,
>> 'spline16' : _image.S
Eric Firing a écrit :
> Fred,
>
> In image.py, the AxesImage.__init__() includes:
>
>self._interpd = {
> 'nearest' : _image.NEAREST,
> 'bilinear' : _image.BILINEAR,
> 'bicubic' : _image.BICUBIC,
> 'spline16' : _image.SPLINE16,
>
Fred,
In image.py, the AxesImage.__init__() includes:
self._interpd = {
'nearest' : _image.NEAREST,
'bilinear' : _image.BILINEAR,
'bicubic' : _image.BICUBIC,
'spline16' : _image.SPLINE16,
'spline36' : _image.SPLINE36,
Eric Firing a écrit :
> fred wrote:
>> Hi,
>>
>> How can I get the list of the available interpolation functions
>> used by imshow() ?
>>
>> TIA.
>>
>> Cheers,
>>
Sorry, I was not clear.
I want to get the list, not to know, in order to set it in a trait
object, for instance,
using something like
fred wrote:
> Hi,
>
> How can I get the list of the available interpolation functions
> used by imshow() ?
>
> TIA.
>
> Cheers,
>
ipython -pylab
imshow?
or
ipython
import pylab
pylab.imshow?
or
python
import pylab
help(pylab.imshow)
Eric
-
Hi,
How can I get the list of the available interpolation functions
used by imshow() ?
TIA.
Cheers,
--
http://scipy.org/FredericPetit
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft Visual S