Re: [matplotlib-devel] Help with scatter

2008-11-11 Thread Ryan May
Eric Firing wrote: > Ryan, > > I hope you don't mind--I took care of the "FIXME" that I had put in, and > committed the whole thing. Your test passes, and the backend_driver.py > seems happy, so it should be OK. You have stolen my glory! :) Actually, I was thinking at this point it was more you

Re: [matplotlib-devel] [Matplotlib-users] Crosshai cursor or Selector with matplotlib.backends.backend_wxagg

2008-11-11 Thread Gregor Thalhammer
[EMAIL PROTECTED] schrieb: > Dear all, > > after looking around for a plotting library I found Matplotlib and I tried to > create a gray scale image in a wxpython application. Looks good! > > Now I have to find a line in the image with mainly vertical orientation. To > do this a crosshair cursor

[matplotlib-devel] Repeating docs

2008-11-11 Thread Ryan May
Hi, In tweaking mlab.psd(), I'm noticing there is a lot of overlap between the keyword args for psd() and csd(). In fact, csd() doesn't document them itself, but just references psd(). Additionally, the csd() and psd() Axes methods duplicate these docs, with a few additional parameters. Would it

Re: [matplotlib-devel] Repeating docs

2008-11-11 Thread Ryan May
John Hunter wrote: >> In tweaking mlab.psd(), I'm noticing there is a lot of overlap between >> the keyword args for psd() and csd(). In fact, csd() doesn't document >> them itself, but just references psd(). Additionally, the csd() and >> psd() Axes methods duplicate these docs, with a few additi

Re: [matplotlib-devel] Repeating docs

2008-11-11 Thread John Hunter
On Tue, Nov 11, 2008 at 1:38 PM, Ryan May <[EMAIL PROTECTED]> wrote: > 1) Have psd(x) call csd(x,x) > 2) Have csd() check if y is x, and if so, avoid doing the extra work. > > Would this be an acceptable solution to reduce code duplication? Sure, that should work fine. > On a separate note, once

Re: [matplotlib-devel] Repeating docs

2008-11-11 Thread John Hunter
On Tue, Nov 11, 2008 at 10:35 AM, Ryan May <[EMAIL PROTECTED]> wrote: > Hi, > > In tweaking mlab.psd(), I'm noticing there is a lot of overlap between > the keyword args for psd() and csd(). In fact, csd() doesn't document > them itself, but just references psd(). Additionally, the csd() and > psd

Re: [matplotlib-devel] Repeating docs

2008-11-11 Thread Ryan May
John Hunter wrote: > On Tue, Nov 11, 2008 at 1:38 PM, Ryan May <[EMAIL PROTECTED]> wrote: > >> 1) Have psd(x) call csd(x,x) >> 2) Have csd() check if y is x, and if so, avoid doing the extra work. >> >> Would this be an acceptable solution to reduce code duplication? > > Sure, that should work fi

Re: [matplotlib-devel] Repeating docs

2008-11-11 Thread Andrew Straw
Ryan May wrote: > John Hunter wrote: > >> On Tue, Nov 11, 2008 at 1:38 PM, Ryan May <[EMAIL PROTECTED]> wrote: >> >> >>> 1) Have psd(x) call csd(x,x) >>> 2) Have csd() check if y is x, and if so, avoid doing the extra work. >>> >>> Would this be an acceptable solution to reduce code duplica

[matplotlib-devel] modification of update_path_extents?

2008-11-11 Thread Eric Firing
Mike, A bug was recently pointed out: axhline, axvline, axhspan, axvspan mess up the ax.dataLim. I committed a quick fix for axhline and axvline, but I don't think that what I did is a good solution, so before doing anything for axhspan and axvspan I want to arrive at a better strategy. What

Re: [matplotlib-devel] [Fwd: Re: Patch for scatter plot legend enhancement]

2008-11-11 Thread Erik Tollerud
Patch against today's svn is attached. Sorry for the long delay... Right now, "scatterpoints" is just set to 3 in Legend.__init__, but presumably that should be an rcParam... On Fri, Oct 31, 2008 at 2:42 AM, Jae-Joon Lee <[EMAIL PROTECTED]> wrote: > Sorry Erik. > Can you make a new patch against