Re: [Matplotlib-users] patheffects for Line2D objects

2012-01-02 Thread Jae-Joon Lee
I just opened a pull request that implements the requested feature. https://github.com/matplotlib/matplotlib/pull/655 If you're familiar with Git, please test it and see if it works for your need. I believe I will merge this PR to the master branch in a few days unless there is any objection. Re

Re: [Matplotlib-users] draw contourf on top of continents with basemap?

2012-01-02 Thread Eric Firing
On 01/02/2012 08:36 AM, Chao YUE wrote: > Dear all, > > I want to draw a contourf with the data covering N>45 (high latitude) > using a 'npstere' projection. > > The problem is if I draw continents with a gray color, > (m.fillcontinents(color='0.5')) > the contourf lay which comes later will be be

Re: [Matplotlib-users] [BUG] autofmt_xdate = graph cropped wrongly

2012-01-02 Thread Álvaro Justen [Turicas]
Done! https://github.com/matplotlib/matplotlib/issues/654 Thanks for the support. On Mon, Jan 2, 2012 at 16:28, Benjamin Root wrote: > On Mon, Jan 2, 2012 at 11:25 AM, Álvaro Justen [Turicas] > wrote: >> >> Hello, >> When I use Figure.autofmt_xdate (it uses rotation by default) the >> graph is

[Matplotlib-users] draw contourf on top of continents with basemap?

2012-01-02 Thread Chao YUE
Dear all, I want to draw a contourf with the data covering N>45 (high latitude) using a 'npstere' projection. The problem is if I draw continents with a gray color, (m.fillcontinents(color='0.5')) the contourf lay which comes later will be below the continents and completely invisible. Does anyo

Re: [Matplotlib-users] plt.hist() doesn't recognize the masked array?

2012-01-02 Thread Chao YUE
Thanks Ben. cheers, Chao 2012/1/2 Benjamin Root > On Mon, Jan 2, 2012 at 11:10 AM, Chao YUE wrote: > >> Dear all matplotlib users, >> >> Happy New Year. >> I try to check the distribution of a 2D array and I find that the >> histogram plot function doesn't respect the numpy masked array? >> >

Re: [Matplotlib-users] [BUG] autofmt_xdate = graph cropped wrongly

2012-01-02 Thread Benjamin Root
On Mon, Jan 2, 2012 at 11:25 AM, Álvaro Justen [Turicas] < alvarojus...@gmail.com> wrote: > Hello, > When I use Figure.autofmt_xdate (it uses rotation by default) the > graph is not moved/scaled so it is cropped in the image. > I noticed this problem when I was trying to crop white border in > ima

Re: [Matplotlib-users] plt.hist() doesn't recognize the masked array?

2012-01-02 Thread Benjamin Root
On Mon, Jan 2, 2012 at 11:10 AM, Chao YUE wrote: > Dear all matplotlib users, > > Happy New Year. > I try to check the distribution of a 2D array and I find that the > histogram plot function doesn't respect the numpy masked array? > > > In [188]: a=range(1,6); b=np.array(a+a[::-1]) > > In [189]:

[Matplotlib-users] plt.hist() doesn't recognize the masked array?

2012-01-02 Thread Chao YUE
Dear all matplotlib users, Happy New Year. I try to check the distribution of a 2D array and I find that the histogram plot function doesn't respect the numpy masked array? In [188]: a=range(1,6); b=np.array(a+a[::-1]) In [189]: b=np.ma.masked_equal(b,2); b=np.ma.masked_equal(b,5) In [190]: b

Re: [Matplotlib-users] An interactive plot challenge

2012-01-02 Thread Tony Yu
On Mon, Jan 2, 2012 at 6:01 AM, Virgil Stokes wrote: > The following link should link you to a very interesting graphical display, > > > http://www.ecb.int/stats/exchange/eurofxref/html/eurofxref-graph-nok.en.html > > This type of graphical output (or at least something quite similar) can be > fo

Re: [Matplotlib-users] An interactive plot challenge

2012-01-02 Thread Alexander Heger
very similar: http://www.google.com/finance?hl=en&q=CURRENCY:AUDUSD On 01/02/2012 05:01 AM, Virgil Stokes wrote: > The following link should link you to a very interesting graphical display, > > > http://www.ecb.int/stats/exchange/eurofxref/html/eurofxref-graph-nok.en.html > > This type of g

Re: [Matplotlib-users] contourf with rgba colours

2012-01-02 Thread Logi Ragnarsson
Eric Firing wrote: > > On Wed, Dec 28, 2011 at 1:11 AM, Jeff Whitaker wrote: >> >> On 12/27/11 12:07 PM, Logi Ragnarsson wrote: >> >>> Is it supposed to be possible to do a filled contour plot with alpha levels >>> in the colour map? I'm plotting weather data on top of maps and would very >>> mu

[Matplotlib-users] An interactive plot challenge

2012-01-02 Thread Virgil Stokes
The following link should link you to a very interesting graphical display, http://www.ecb.int/stats/exchange/eurofxref/html/eurofxref-graph-nok.en.html This type of graphical output (or at least something quite similar) can be found in other web pages that display financial data. Has anyon