[Matplotlib-users] gcf() problem

2008-06-29 Thread sordnay
Hi all, I have a little problem, I've been unable to solve, maybe someone can help me out. I have several figures opened, but when I use gcf() I get handle of the last opened figure instead of the active one... i.e. when intercepting a button_press_event, gcf().number returns the number of the

Re: [Matplotlib-users] gcf() problem

2008-06-29 Thread Vincent Noel
On Sun, Jun 29, 2008 at 22:26, John Hunter [EMAIL PROTECTED] wrote: gcf is written to return the last figure activated or created by the figure command. It would be fairly trivial to add support for making the last clicked figure the active one, but it seems like a reasonable thing to do

[Matplotlib-users] legend in pylab

2008-06-29 Thread sandric ionut
Hello: I am trying to diplay legend of X and Y axes like: legend(('label X', 'label Y'), isaxes=True) and I get an errortype 'exceptions.TypeError': __init__() got an unexpected keyword argument 'is axes' How can I display labels for X and Y axes and a Title for the plot Thank you, Ionut

Re: [Matplotlib-users] legend in pylab

2008-06-29 Thread Ryan May
sandric ionut wrote: Hello: I am trying to diplay legend of X and Y axes like: legend(('label X', 'label Y'), isaxes=True) and I get an errortype 'exceptions.TypeError': __init__() got an unexpected keyword argument 'is axes' How can I display labels for X and Y axes and a Title for

[Matplotlib-users] dataLim and getting the data from `scatter` (bonus: an attempt at a Frame class)

2008-06-29 Thread Tony S Yu
Hi. A couple of questions about `scatter`:Q1The bounding box `axes.dataLim` increases in size when calling scatter(x, y) compared to plot(x, y) (for the same x, y data, of course). I think this change is due to the size of the markers being added to the data limits (not sure if this is true).