Re: [Matplotlib-users] Options for speeding up matplotlib, spectrogram with log scale axis, etc.

2012-10-09 Thread Eric Firing
On 2012/10/09 4:46 PM, Mike Kaufman wrote: > On 10/9/12 10:03 PM, Jody Klymak wrote: >> Hi Eric, >> >>>The pcolormesh docstring notes that it is >>> much faster than pcolor; the pcolor docstring probably should refer >>> people to pcolormesh, since matlab users are likely to go straight to >>>

Re: [Matplotlib-users] Options for speeding up matplotlib, spectrogram with log scale axis, etc.

2012-10-09 Thread Mike Kaufman
On 10/9/12 10:03 PM, Jody Klymak wrote: > Hi Eric, > >> The pcolormesh docstring notes that it is >> much faster than pcolor; the pcolor docstring probably should refer >> people to pcolormesh, since matlab users are likely to go straight to >> pcolor without realizing that they should be using p

Re: [Matplotlib-users] Corrupted percent signs in labels

2012-10-09 Thread Benjamin Root
On Tuesday, October 9, 2012, Nikolaus Rath wrote: > Damon McDougall > > > writes: > > On Tue, Oct 9, 2012 at 10:56 PM, Damon McDougall > > > > wrote: > >> On Tue, Oct 9, 2012 at 10:32 PM, Nikolaus Rath < > nikolaus-bth8mxji...@public.gmane.org > wrote: > >>> Hello, > >>> > >>> For some reason, my

Re: [Matplotlib-users] Options for speeding up matplotlib, spectrogram with log scale axis, etc.

2012-10-09 Thread Jody Klymak
Hi Eric, > The pcolormesh docstring notes that it is > much faster than pcolor; the pcolor docstring probably should refer > people to pcolormesh, since matlab users are likely to go straight to > pcolor without realizing that they should be using pcolormesh. I'd agree with this. pcolormesh

[Matplotlib-users] Pylab import error due to dateutil

2012-10-09 Thread Gökhan Sever
Hello, With a fresh git clone git://github.com/matplotlib/matplotlib.git sudo python setupegg.py develop Starting ipython --pylab I get this error: .../matplotlib/lib/matplotlib/dates.py in () 120 import matplotlib.ticker as ticker 121 --> 122 from dateutil.rrule import rrule, MO, TU, W

Re: [Matplotlib-users] Corrupted percent signs in labels

2012-10-09 Thread Nikolaus Rath
Damon McDougall writes: > On Tue, Oct 9, 2012 at 10:56 PM, Damon McDougall > wrote: >> On Tue, Oct 9, 2012 at 10:32 PM, Nikolaus Rath >> wrote: >>> Hello, >>> >>> For some reason, my matplotlib isn't able to print percent signs ('%') >>> properly: >>> >>> [1] inspiron:~/tmp# cat mplbug.py >>>

Re: [Matplotlib-users] Corrupted percent signs in labels

2012-10-09 Thread Damon McDougall
On Tue, Oct 9, 2012 at 10:56 PM, Damon McDougall wrote: > On Tue, Oct 9, 2012 at 10:32 PM, Nikolaus Rath wrote: >> Hello, >> >> For some reason, my matplotlib isn't able to print percent signs ('%') >> properly: >> >> [1] inspiron:~/tmp# cat mplbug.py >> >> import matplotlib >> import matplotlib.

Re: [Matplotlib-users] Corrupted percent signs in labels

2012-10-09 Thread Damon McDougall
On Tue, Oct 9, 2012 at 10:32 PM, Nikolaus Rath wrote: > Hello, > > For some reason, my matplotlib isn't able to print percent signs ('%') > properly: > > [1] inspiron:~/tmp# cat mplbug.py > > import matplotlib > import matplotlib.pyplot as plt > import numpy as np > > print matplotlib.__version__

Re: [Matplotlib-users] Corrupted percent signs in labels

2012-10-09 Thread Daπid
On Windows it works just fine. Just a wild guess, can you try to make it a raw string? plt.xlabel(r'Percent [%]') On Tue, Oct 9, 2012 at 10:45 PM, Francesco Montesano wrote: > Hi > > 2012/10/9 Nikolaus Rath >> >> Hello, >> >> For some reason, my matplotlib isn't able to print percent signs ('%'

Re: [Matplotlib-users] Corrupted percent signs in labels

2012-10-09 Thread Francesco Montesano
Hi 2012/10/9 Nikolaus Rath > Hello, > > For some reason, my matplotlib isn't able to print percent signs ('%') > properly: > > [1] inspiron:~/tmp# cat mplbug.py > > import matplotlib > import matplotlib.pyplot as plt > import numpy as np > > print matplotlib.__version__ > plt.plot(np.arange(10),

[Matplotlib-users] Accessing WMS and ESRI REST services in Matplotlib

2012-10-09 Thread Rich Signell
Matplotlib folks, Probably the two most common web map services are the OGC-standard WMS service and ESRI's non-standard custom REST service. I was looking for how to do WMS request in basemap and found "testarcgisimage.py" which uses the "arcgisimage" method. It look like there was a "wmsimage

[Matplotlib-users] Corrupted percent signs in labels

2012-10-09 Thread Nikolaus Rath
Hello, For some reason, my matplotlib isn't able to print percent signs ('%') properly: [1] inspiron:~/tmp# cat mplbug.py import matplotlib import matplotlib.pyplot as plt import numpy as np print matplotlib.__version__ plt.plot(np.arange(10), np.arange(10)**2) plt.xlabel('Percent [%]') plt.sa

Re: [Matplotlib-users] trouble switching off smoothing in imshow()

2012-10-09 Thread Pierre Haessig
Hi, Le 09/10/2012 16:37, Warren Weckesser a écrit : > > That's strange. `imshow(img, interpolation='nearest')` works for me. > I'm not sure I understand well the subtle difference between 'nearest' and 'none' interpolations, but I found in this commit https://github.com/jkseppan/matplotlib/commit

Re: [Matplotlib-users] trouble switching off smoothing in imshow()

2012-10-09 Thread Warren Weckesser
On Tue, Oct 9, 2012 at 10:11 AM, Anand Sivaramakrishnan wrote: > I ask having trouble getting imshow to plot e.g. a detector image > showing pixels as little rectangular or square uniform color blocks - > imshow seems to want to interpolate or smooth the image. > Using imshow("nearest") still pro

Re: [Matplotlib-users] trouble switching off smoothing in imshow()

2012-10-09 Thread Benjamin Root
On Tue, Oct 9, 2012 at 10:11 AM, Anand Sivaramakrishnan wrote: > I ask having trouble getting imshow to plot e.g. a detector image > showing pixels as little rectangular or square uniform color blocks - > imshow seems to want to interpolate or smooth the image. > Using imshow("nearest") still pro

[Matplotlib-users] trouble switching off smoothing in imshow()

2012-10-09 Thread Anand Sivaramakrishnan
I ask having trouble getting imshow to plot e.g. a detector image showing pixels as little rectangular or square uniform color blocks - imshow seems to want to interpolate or smooth the image. Using imshow("nearest") still produces a 'soft' image. I have solved this problem earlier using figimag