On 04/18/2011 12:46 AM, Emanuele Passera wrote:
> Hello everybody,
>
> I am experiencing a strange behavior with the imshow() function when
> using the nearest interpolation method.
>
> Executing the code listed below, I obtain a good image when using the
> bilinear interpolation method
> and a totally white image when using the nearest interpolation method.
> I have attached the input data buffer and the resulting images too.
>
[...]
>
> I use matplotlib to generate a lot of images in batch mode and this
> behavior appear not to be deterministic. It seems to depend on the input
> data buffer.
> Can anyone help me ?
>
> I use
> Linux openSUSE 11.3 (x86_64)
> Linux sat1 2.6.34.7-0.7-default #1 SMP 2010-12-13 11:13:53 +0100 x86_64
> x86_64 x86_64 GNU/Linux
> Python       2.6.5
> numpy        1.5.1
> matplotlib   1.0.1 with backend Agg v2.2
>
>
> If it can be of some help this strange behavior does not appear with a
> system
> Linux Ubuntu 9.10
> Linux joshua 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:48:10 UTC
> 2009 i686 GNU/Linux
> Python       2.6.4
> numpy        1.3.0
> matplotlib   0.99.0 with backend Agg v2.2

Nor does it appear on my system with mpl from git, but it does with mpl 
1.0.1, so it looks like this is something that was broken temporarily in 
the 1.0 series but is now fixed.

Eric

>
> Executing the script with verbosity I get the subsequent output
> python /users/lelepass/python/test_imagesc/test.py --verbose-helpful
>
> $HOME=/users/lelepass
> CONFIGDIR=/users/lelepass/.matplotlib
>
> Bad key "numerix" on line 30 in
> /users/lelepass/.matplotlib/matplotlibrc.
> You probably need to get an updated matplotlibrc file from
> http://matplotlib.sf.net/_static/matplotlibrc or from the matplotlib source
> distribution
> matplotlib data path /usr/lib64/python2.6/site-packages/matplotlib/mpl-data
> loaded rc file /users/lelepass/.matplotlib/matplotlibrc
> matplotlib version 1.0.1
> verbose.level helpful
> interactive is False
> units is True
> platform is linux2
> Using fontManager instance from /users/lelepass/.matplotlib/fontList.cache
> backend agg version v2.2
> findfont: Matching
> :family=sans-serif:style=normal:variant=normal:weight=normal:stretch=normal:size=medium
> to Bitstream Vera Sans
> (/usr/lib64/python2.6/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf)
> with score of 0.000000
>
>
> Thank you all.
> Bye.
>
>
>
>
>
> Emanuele Passera
>
> Software Engineer
>
> Tele-Rilevamento Europa - T.R.E. srl
> Via Vittoria Colonna, 7
> 20149 Milano – Italia
> Tel.: +39.02.4343.121 - Fax: +39.02.4343.1230
> emanuele.pass...@treuropa.com <mailto:emanuele.pass...@treuropa.com> -
> www.treuropa.com <http://www.treuropa.com>
>


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to