Re: [matplotlib-devel] Request: make plotting of a single point more convenient

2009-07-25 Thread Eric Firing
Rob Clewley wrote: > I wrote a wrapper to do this for my own code because I wanted it so > much. I can't see why it would be a problem to support, it's only one > extra if statement. > > +1 from me! Done in svn 7294. Eric > > On Sat, Jul 25, 2009 at 1:16 AM, Jan Müller wrote: >> basically thi

Re: [matplotlib-devel] Request: make plotting of a single point more convenient

2009-07-25 Thread Nathaniel Smith
On Sat, Jul 25, 2009 at 3:13 PM, Rob Clewley wrote: > I wrote a wrapper to do this for my own code because I wanted it so > much. I can't see why it would be a problem to support, it's only one > extra if statement. Or zero extra statements, if one just replaces the if len(x.shape) == 1: x

Re: [matplotlib-devel] Request: make plotting of a single point more convenient

2009-07-25 Thread Rob Clewley
I wrote a wrapper to do this for my own code because I wanted it so much. I can't see why it would be a problem to support, it's only one extra if statement. +1 from me! On Sat, Jul 25, 2009 at 1:16 AM, Jan Müller wrote: > basically this works: > > plot([1], [1], "*") > > but I think it would be