Re: [matplotlib-devel] Empty scatter plot

2011-02-15 Thread Benjamin Root
On Tue, Feb 15, 2011 at 1:41 PM, Benjamin Root wrote: > > > On Tue, Feb 15, 2011 at 1:17 PM, Eric Firing wrote: > >> On 02/15/2011 08:50 AM, Benjamin Root wrote: >> >>> On Tue, Feb 15, 2011 at 12:19 PM, Benjamin Root >> > wrote: >>> >>>On Tue, Feb 15, 2011 at 11:54 AM

Re: [matplotlib-devel] Empty scatter plot

2011-02-15 Thread Benjamin Root
On Tue, Feb 15, 2011 at 1:17 PM, Eric Firing wrote: > On 02/15/2011 08:50 AM, Benjamin Root wrote: > >> On Tue, Feb 15, 2011 at 12:19 PM, Benjamin Root > > wrote: >> >>On Tue, Feb 15, 2011 at 11:54 AM, Eric Firing >> wrote: >> >>O

Re: [matplotlib-devel] Empty scatter plot

2011-02-15 Thread Eric Firing
On 02/15/2011 08:50 AM, Benjamin Root wrote: > On Tue, Feb 15, 2011 at 12:19 PM, Benjamin Root > wrote: > > On Tue, Feb 15, 2011 at 11:54 AM, Eric Firing > wrote: > > On 02/15/2011 07:40 AM, Benjamin Root wrote: > > I hav

Re: [matplotlib-devel] Empty scatter plot

2011-02-15 Thread Benjamin Root
On Tue, Feb 15, 2011 at 12:19 PM, Benjamin Root wrote: > On Tue, Feb 15, 2011 at 11:54 AM, Eric Firing wrote: > >> On 02/15/2011 07:40 AM, Benjamin Root wrote: >> > I have come across a little inconsistency that was unexpected in the >> > matplotlib API. The following is perfectly valid: >> > >

Re: [matplotlib-devel] Empty scatter plot

2011-02-15 Thread Benjamin Root
On Tue, Feb 15, 2011 at 11:54 AM, Eric Firing wrote: > On 02/15/2011 07:40 AM, Benjamin Root wrote: > > I have come across a little inconsistency that was unexpected in the > > matplotlib API. The following is perfectly valid: > > > > import matplotlib.pyplot as plt > > plt.plot([], []) > > plt.

Re: [matplotlib-devel] Empty scatter plot

2011-02-15 Thread Eric Firing
On 02/15/2011 07:40 AM, Benjamin Root wrote: > I have come across a little inconsistency that was unexpected in the > matplotlib API. The following is perfectly valid: > > import matplotlib.pyplot as plt > plt.plot([], []) > plt.show() > > > However, this is not valid: > > import matplotlib.pyplot

Re: [matplotlib-devel] Empty scatter plot

2011-02-15 Thread Ben Gamari
On Tue, 15 Feb 2011 11:40:01 -0600, Benjamin Root wrote: > So, the question is, is this a bug or a feature? I personally believe that > empty data is a perfectly valid scenario and given that other matplotlib > functions handle it gracefully, we should make the collections object more > friendly

Re: [matplotlib-devel] info_ptr in libpng is opaque

2011-02-15 Thread Eric Firing
On 02/12/2011 12:11 PM, Michael Albert wrote: > Greetings! > > First, my personal thanks to you good folks who make > a wonderful tool like matplotlib available. > > I am currently trying to build matplotlib-1.0.1 against > libpng1.5.1, and _png.cpp failed to compile. Apparently, > libpng's info_p

[matplotlib-devel] Empty scatter plot

2011-02-15 Thread Benjamin Root
I have come across a little inconsistency that was unexpected in the matplotlib API. The following is perfectly valid: import matplotlib.pyplot as plt plt.plot([], []) plt.show() However, this is not valid: import matplotlib.pyplot as plt plt.scatter([], []) plt.show() The immediate issue th

[matplotlib-devel] info_ptr in libpng is opaque

2011-02-15 Thread Michael Albert
Greetings! First, my personal thanks to you good folks who make a wonderful tool like matplotlib available. I am currently trying to build matplotlib-1.0.1 against libpng1.5.1, and _png.cpp failed to compile. Apparently, libpng's info_ptr is now opaque, so the code required multiple changes of t