Re: [matplotlib-devel] nxutils

2011-11-18 Thread Michael Droettboom
b.inside_poly to use Path instead and will submit it later today. --James *From:*Michael Droettboom [mailto:md...@stsci.edu] *Sent:* Friday, November 18, 2011 6:23 AM *To:* matplotlib-devel@lists.sourceforge.net *Subject:* Re: [matplotlib-devel] nxutils Perhaps another alternative is to

Re: [matplotlib-devel] nxutils

2011-11-18 Thread James Evans
later today. --James From: Michael Droettboom [mailto:md...@stsci.edu] Sent: Friday, November 18, 2011 6:23 AM To: matplotlib-devel@lists.sourceforge.net Subject: Re: [matplotlib-devel] nxutils Perhaps another alternative is to just include a small compatibility module that would call

Re: [matplotlib-devel] nxutils

2011-11-18 Thread Michael Droettboom
Perhaps another alternative is to just include a small compatibility module that would call the new functionality under the hood. Mike On 11/18/2011 09:07 AM, Michael Droettboom wrote: nxutils has been removed from master because it is completely redundant to the Path functionality that has be

Re: [matplotlib-devel] nxutils

2011-11-18 Thread Michael Droettboom
nxutils has been removed from master because it is completely redundant to the Path functionality that has been in matplotlib since 0.98. In the process of porting to Python 3, I felt it was important to reduce code duplication, because every additional line requires additional testing. That

Re: [matplotlib-devel] nxutils

2011-11-17 Thread Benjamin Root
Huh? Nxutils removed? Then how am I still using points_inside_poly? And, if I remember right, Path uses that to calculate contains(). Ben Root On Thursday, November 17, 2011, Eric Firing wrote: > On 11/17/2011 10:19 AM, Michael Droettboom wrote: >> Most of what was in nxutils has been superseded

Re: [matplotlib-devel] nxutils

2011-11-17 Thread Eric Firing
On 11/17/2011 10:19 AM, Michael Droettboom wrote: > Most of what was in nxutils has been superseded by things in Numpy, and > it makes more sense for it to be over there. > > In the case of points_inside_poly, you can use the Path object in > path.py and the "contains_point" method. > > Mike Mike,

Re: [matplotlib-devel] nxutils

2011-11-17 Thread Michael Droettboom
Most of what was in nxutils has been superseded by things in Numpy, and it makes more sense for it to be over there. In the case of points_inside_poly, you can use the Path object in path.py and the "contains_point" method. Mike On 11/17/2011 12:03 PM, James Evans wrote: All, I have not t