On Wed, Dec 3, 2008 at 9:15 AM, Nitin Bhide <[EMAIL PROTECTED]> wrote: > Hi, > > I am getting following error while running the 'legend_demo3.py' from the > examples. > > exec codeObject in __main__.__dict__ > File "D:\nitinb\SoftwareSources\SVNPlot\legendtest.py", line 13, in <module> > ax1.legend(loc=1, ncol=3, shadow=True) > File "F:\Python25\Lib\site-packages\matplotlib\axes.py", line 3617, in legend > self.legend_ = mlegend.Legend(self, handles, labels, **kwargs) > TypeError: __init__() got an unexpected keyword argument 'ncol' > > I am using ActivePython version 2.5.2 and Matplotlib version 0.98.3
We use the svn version of matplotlib to generate the website, and ncol is a recent feature not in the main release yet. You can checkout the svn code following the instructions at http://matplotlib.sourceforge.net/devel/coding_guide.html I have added a note on the gallery warning people that not all the images are available in the latest release with a pointer to the svn instructions. But we would like to get a release out ASAP! JDH ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users