On Sat, Jul 25, 2009 at 3:13 PM, Rob Clewley<rob.clew...@gmail.com> 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 = x[:, np.newaxis] lines with while len(x.shape) < 2: x = x[:, np.newaxis] -- Nathaniel ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel