Rob, OK, thanks. That sounds like something resulting from the change I made to support 2D array input to plot. I will check it.
Eric Rob Hetland wrote: > fill(x, y) returns an error like: > > > /Users/rob/Projects/Merrimack/Grid/landfill.py in <module>() > 24 for filename in filenames: > 25 x, y, = pl.load(filename).T > ---> 26 pl.fill(x, y, facecolor=fillcolor, alpha=fillalpha) > 27 > 28 > > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- > packages/matplotlib/pylab.py in fill(*args, **kwargs) > 1869 hold(h) > 1870 try: > -> 1871 ret = gca().fill(*args, **kwargs) > 1872 draw_if_interactive() > 1873 except: > > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- > packages/matplotlib/axes.py in fill(self, *args, **kwargs) > 3677 patches = [] > 3678 for poly in self._get_patches_for_fill(*args, > **kwargs): > -> 3679 self.add_patch( poly ) > 3680 patches.append( poly ) > 3681 self.autoscale_view() > > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- > packages/matplotlib/axes.py in add_patch(self, p) > 951 xys = self._get_verts_in_data_coords( > 952 p.get_transform(), p.get_verts()) > --> 953 self.update_datalim(xys) > 954 self.patches.append(p) > 955 > > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- > packages/matplotlib/axes.py in update_datalim(self, xys) > 966 # and the data in xydata > 967 xys = asarray(xys) > --> 968 self.dataLim.update_numerix_xy(xys, -1) > 969 > 970 > > <type 'exceptions.TypeError'>: Bbox::update_numerix_xy expected > numerix array > WARNING: Failure executing file: <landfill.py> > > > ---- > Rob Hetland, Associate Professor > Dept. of Oceanography, Texas A&M University > http://pong.tamu.edu/~rob > phone: 979-458-0096, fax: 979-845-6331 > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users