Re: [matplotlib-devel] Updated units.ConversionInterface

2009-01-29 Thread James Evans
Okay. Done. --James > -Original Message- > From: John Hunter [mailto:jdh2...@gmail.com] > Sent: Wednesday, January 28, 2009 11:46 AM > To: James Evans > Cc: Eric Firing; matplotlib development list > Subject: Re: [matplotlib-devel] Updated units.ConversionInterface &

Re: [matplotlib-devel] Updated units.ConversionInterface

2009-01-28 Thread John Hunter
On Wed, Jan 28, 2009 at 3:16 PM, Drain, Theodore R wrote: > (nitpick mode on) > > Saying they can ignore it more easily seems like a bit of a stretch to me. > If you're writing a converter you MUST include the axis in the function > signature since callers will be passing it in. Whether or not

Re: [matplotlib-devel] Updated units.ConversionInterface

2009-01-28 Thread Drain, Theodore R
ll be wrong in some cases (just probably not the case they test with). Ted > -Original Message- > From: John Hunter [mailto:jdh2...@gmail.com] > Sent: Wednesday, January 28, 2009 11:46 AM > To: James Evans > Cc: matplotlib development list; Eric Firing > S

Re: [matplotlib-devel] Updated units.ConversionInterface

2009-01-28 Thread John Hunter
On Wed, Jan 28, 2009 at 1:19 PM, James Evans wrote: > Eric, > > I was looking at it from the perspective of most of the other API calls > throughout matplotlib have the Axes or Axis as the first > argument. Typically this is because it is what wants the work to be done or > is being worked on.

Re: [matplotlib-devel] Updated units.ConversionInterface

2009-01-28 Thread James Evans
s Evans > Cc: 'matplotlib development list' > Subject: Re: [matplotlib-devel] Updated units.ConversionInterface > > James Evans wrote: > > All, > > > > I have just submitted an updated units.ConversionInterface. For each of > > the static methods it now

Re: [matplotlib-devel] Updated units.ConversionInterface

2009-01-28 Thread Eric Firing
James Evans wrote: > All, > > I have just submitted an updated units.ConversionInterface. For each of the > static methods it now takes the invoking Axis instance > as a parameter. I have updated the appropriate calling functions. This > allows the DateConverter to now guarantee that the defa

[matplotlib-devel] Updated units.ConversionInterface

2009-01-28 Thread James Evans
All, I have just submitted an updated units.ConversionInterface. For each of the static methods it now takes the invoking Axis instance as a parameter. I have updated the appropriate calling functions. This allows the DateConverter to now guarantee that the default axes no longer attempts to