[Matplotlib-users] Control the position of a figure window

2012-10-02 Thread Jianbao Tao
Hi, Is it possible to specify the position of a figure window when one is created? This will be a killing feature if one wants to put the figure window at the right place in the screen automatically. It is annoying if ones has to drag a new figure to a comfortable place in the screen every time a

[Matplotlib-users] Create a figure window without navigation toolbar

2012-10-02 Thread Jianbao Tao
Hi, I know one can make a figure window without toolbar by doing mpl.rcParams['toolbar'] = 'None' However, this approach is kind of annoying if one just wants to remove the toolbar for one figure window and to keep the default behavior to be with a toolbar. So, I am wondering if it is possible to

Re: [Matplotlib-users] imlim in ax.imshow

2012-10-02 Thread Eric Firing
On 2012/10/02 9:21 AM, Michael Aye wrote: >>> >> How nice of you to ask! ;) >> Indeed: I had the case that image arrays inside an ImageGrid where >> shown with some white overhead area around, e.g. for an image of 100 >> pixels on the x-axis, the imshow resulted in an x-axis that went f

Re: [Matplotlib-users] imlim in ax.imshow

2012-10-02 Thread Michael Aye
On 2012-10-02 19:49:16 +, Damon McDougall said: > On Tue, Oct 2, 2012 at 8:33 PM, Michael Aye > wrote: >> > How nice of you to ask! ;) > Indeed: I had the case that image arrays inside an ImageGrid where > shown with some white overhead area around, e.g. for

[Matplotlib-users] Is there an update on: "Matplotlib 1.1.0 animation vs. contour plots"?

2012-10-02 Thread Mark Bakker
Hello List, Apparently, it is not straightforward to make an animation of contour plots. I found a discussion (and work-around solution including punching ducks) on the list through this link: punch the QuadContourSet until it behaves like an Artist

Re: [Matplotlib-users] imlim in ax.imshow

2012-10-02 Thread Damon McDougall
On Tue, Oct 2, 2012 at 8:33 PM, Michael Aye wrote: > How nice of you to ask! ;) Indeed: I had the case that image arrays inside an ImageGrid where shown with some white overhead area around, e.g. for an image of 100 pixels on the x-axis, the imshow resul

Re: [Matplotlib-users] imlim in ax.imshow

2012-10-02 Thread Michael Aye
>>> How nice of you to ask! ;) >>> Indeed: I had the case that image arrays inside an ImageGrid where >>> shown with some white overhead area around, e.g. for an image of 100 >>> pixels on the x-axis, the imshow resulted in an x-axis that went from >>> -10 to 110. I

Re: [Matplotlib-users] imlim in ax.imshow

2012-10-02 Thread Michael Aye
> > > How nice of you to ask! ;) > Indeed: I had the case that image arrays inside an ImageGrid where > shown with some white overhead area around, e.g. for an image of 100 > pixels on the x-axis, the imshow resulted in an x-axis that went from > -10 to 110. I was looking for a sim

Re: [Matplotlib-users] imlim in ax.imshow

2012-10-02 Thread Eric Firing
On 2012/10/02 9:11 AM, Damon McDougall wrote: > On Tue, Oct 2, 2012 at 8:07 PM, K.-Michael Aye wrote: >> >> On Oct 2, 2012, at 12:06 PM, Damon McDougall >> wrote: >> >>> On Tue, Oct 2, 2012 at 8:00 PM, K.-Michael Aye >>> wrote: On Oct 2, 2012, at 11:09 AM, Damon McDougall wrot

Re: [Matplotlib-users] imlim in ax.imshow

2012-10-02 Thread Benjamin Root
On Tue, Oct 2, 2012 at 3:07 PM, K.-Michael Aye wrote: > > On Oct 2, 2012, at 12:06 PM, Damon McDougall > wrote: > > > On Tue, Oct 2, 2012 at 8:00 PM, K.-Michael Aye > wrote: > >> > >> On Oct 2, 2012, at 11:09 AM, Damon McDougall > wrote: > >> > >>> On Tue, Oct 2, 2012 at 5:51 PM, K.-Michael Aye

Re: [Matplotlib-users] imlim in ax.imshow

2012-10-02 Thread Damon McDougall
On Tue, Oct 2, 2012 at 8:07 PM, K.-Michael Aye wrote: > > On Oct 2, 2012, at 12:06 PM, Damon McDougall > wrote: > >> On Tue, Oct 2, 2012 at 8:00 PM, K.-Michael Aye >> wrote: >>> >>> On Oct 2, 2012, at 11:09 AM, Damon McDougall >>> wrote: >>> On Tue, Oct 2, 2012 at 5:51 PM, K.-Michael Ay

Re: [Matplotlib-users] imlim in ax.imshow

2012-10-02 Thread K.-Michael Aye
On Oct 2, 2012, at 12:06 PM, Damon McDougall wrote: > On Tue, Oct 2, 2012 at 8:00 PM, K.-Michael Aye wrote: >> >> On Oct 2, 2012, at 11:09 AM, Damon McDougall >> wrote: >> >>> On Tue, Oct 2, 2012 at 5:51 PM, K.-Michael Aye >>> wrote: On Oct 2, 2012, at 6:33 AM, Damon McDo

Re: [Matplotlib-users] imlim in ax.imshow

2012-10-02 Thread Damon McDougall
On Tue, Oct 2, 2012 at 8:00 PM, K.-Michael Aye wrote: > > On Oct 2, 2012, at 11:09 AM, Damon McDougall > wrote: > >> On Tue, Oct 2, 2012 at 5:51 PM, K.-Michael Aye >> wrote: >>> >>> >>> On Oct 2, 2012, at 6:33 AM, Damon McDougall >>> wrote: >>> On Tue, Oct 2, 2012 at 2:19 PM, Benjamin R

Re: [Matplotlib-users] Fwd: imlim in ax.imshow

2012-10-02 Thread Michael Aye
On 2012-10-02 18:10:01 +, Damon McDougall said: > Forgot to reply all. Sorry. > > > -- Forwarded message -- > From: Damon McDougall > Date: Tue, Oct 2, 2012 at 7:09 PM > Subject: Re: [Matplotlib-users] imlim in ax.imshow > To: "K.-Michael Aye" > > > On Tue, Oct 2, 2012 at

Re: [Matplotlib-users] How to modify the navigation toolbar easily in a matplotlib figure window?

2012-10-02 Thread Benjamin Root
On Tue, Oct 2, 2012 at 2:34 PM, Eric Firing wrote: > On 2012/10/02 8:08 AM, Jianbao Tao wrote: > > Is it possible to do something like the following to modify the > > navigation toolbar in matplotlib? > > > > 1. Generate a figure window, such as by *fig = figure()* > > 2. Get a reference of the

Re: [Matplotlib-users] How to modify the navigation toolbar easily in a matplotlib figure window?

2012-10-02 Thread Eric Firing
On 2012/10/02 8:08 AM, Jianbao Tao wrote: > Is it possible to do something like the following to modify the > navigation toolbar in matplotlib? > > 1. Generate a figure window, such as by *fig = figure()* > 2. Get a reference of the navigation toolbar, such as by *tbar = > fig.get_navigation_

Re: [Matplotlib-users] X Window System error

2012-10-02 Thread Damon McDougall
On Tue, Oct 2, 2012 at 6:07 PM, Eric Firing wrote: > On 2012/10/02 4:12 AM, Mic wrote: >> Hi Eric, >> I have a dataset which contains about 4600 values. >> >> Is it possible to display 4600 values with a bar char and labels? >> >> Thank you in advance. > > Mic, > > I don't think so, as a practical

[Matplotlib-users] Fwd: imlim in ax.imshow

2012-10-02 Thread Damon McDougall
Forgot to reply all. Sorry. -- Forwarded message -- From: Damon McDougall Date: Tue, Oct 2, 2012 at 7:09 PM Subject: Re: [Matplotlib-users] imlim in ax.imshow To: "K.-Michael Aye" On Tue, Oct 2, 2012 at 5:51 PM, K.-Michael Aye wrote: > > > On Oct 2, 2012, at 6:33 AM, Damon Mc

[Matplotlib-users] How to modify the navigation toolbar easily in a matplotlib figure window?

2012-10-02 Thread Jianbao Tao
Is it possible to do something like the following to modify the navigation toolbar in matplotlib? 1. Generate a figure window, such as by *fig = figure()* 2. Get a reference of the navigation toolbar, such as by *tbar = fig.get_navigation_toolbar()* or better yet, just by *tbar = fig.navt

Re: [Matplotlib-users] X Window System error

2012-10-02 Thread Eric Firing
On 2012/10/02 4:12 AM, Mic wrote: > Hi Eric, > I have a dataset which contains about 4600 values. > > Is it possible to display 4600 values with a bar char and labels? > > Thank you in advance. Mic, I don't think so, as a practical matter. A screen doesn't even have that many pixels of width.

[Matplotlib-users] problems making grayscale lines

2012-10-02 Thread Jonathan Slavin
Hi all, I'm trying to make a plot with several lines, each with a different grayscale color. I thought I could do something like clrs = ['0.125', '0.25', '0.375', '0.5', '0.625', '0.75', '0.875', '1.0'] and then either set the color cycle using clrs or just use the color=clrs[i] argument in a lo

Re: [Matplotlib-users] imlim in ax.imshow

2012-10-02 Thread K.-Michael Aye
On Oct 2, 2012, at 6:33 AM, Damon McDougall wrote: > On Tue, Oct 2, 2012 at 2:19 PM, Benjamin Root wrote: >> >> >> On Mon, Oct 1, 2012 at 7:20 PM, Michael Aye wrote: >>> >>> Hi! >>> >>> I see that the function ax.imshow takes the parameter 'imlim' but in >>> the source (status: EPD 7.3-2)

Re: [Matplotlib-users] problems making grayscale lines

2012-10-02 Thread Jonathan Slavin
D'oh! Caught my mistake. I was thinking of the grayscale backwards. color = '1.0' is white not black! Got it working now. Jon -- __ Jonathan D. Slavin Harvard-Smithsonian CfA jsla...@cfa.harvard.edu 60 Garden Stree

Re: [Matplotlib-users] Black and white mode

2012-10-02 Thread Tony Yu
On Tue, Oct 2, 2012 at 11:04 AM, Benjamin Root wrote: > > > On Tue, Oct 2, 2012 at 8:31 AM, William Furnass wrote: > >> Did anything ever come of the MPL black and white mode mentioned in >> the following? I rarely want to produce colour plots and having an >> inbuilt mechanism for cycling throu

Re: [Matplotlib-users] Black and white mode

2012-10-02 Thread Benjamin Root
On Tue, Oct 2, 2012 at 8:31 AM, William Furnass wrote: > Did anything ever come of the MPL black and white mode mentioned in > the following? I rarely want to produce colour plots and having an > inbuilt mechanism for cycling through line styles that can be > activated with a keyword argument wo

Re: [Matplotlib-users] X Window System error

2012-10-02 Thread Mic
Hi Eric, I have a dataset which contains about 4600 values. Is it possible to display 4600 values with a bar char and labels? Thank you in advance. On Tue, Oct 2, 2012 at 4:04 PM, Eric Firing wrote: > On 2012/10/01 7:28 PM, Mic wrote: > > Hi, > > > > I have got the following error with the f

Re: [Matplotlib-users] imlim in ax.imshow

2012-10-02 Thread Damon McDougall
On Tue, Oct 2, 2012 at 2:19 PM, Benjamin Root wrote: > > > On Mon, Oct 1, 2012 at 7:20 PM, Michael Aye wrote: >> >> Hi! >> >> I see that the function ax.imshow takes the parameter 'imlim' but in >> the source (status: EPD 7.3-2) it is not being used? >> So what is it for? >> >> Best regards, >> M

Re: [Matplotlib-users] imlim in ax.imshow

2012-10-02 Thread Benjamin Root
On Mon, Oct 1, 2012 at 7:20 PM, Michael Aye wrote: > Hi! > > I see that the function ax.imshow takes the parameter 'imlim' but in > the source (status: EPD 7.3-2) it is not being used? > So what is it for? > > Best regards, > Michael > > > Confirmed. I don't see imlim anywhere except in the imsh

[Matplotlib-users] Black and white mode

2012-10-02 Thread William Furnass
Did anything ever come of the MPL black and white mode mentioned in the following? I rarely want to produce colour plots and having an inbuilt mechanism for cycling through line styles that can be activated with a keyword argument would be very handy. http://www.mail-archive.com/matplotlib-users@