Re: [matplotlib-devel] example data in example code
John Hunter writes: > Would you like to take a crack at these fixes? [...] I would be happy > to get as many fixes and patches in next week and try to get one > bugfix 0.99.1 out before scipy. I started fixing the issues. It's not complete yet, but the current state should be usable. However, this work is not on the 0.99 branch, only on the trunk. Handling the off-line use case is harder than I thought: at least on my laptop the urlopen call just blocks, so there needs to be a timeout mechanism. -- Jouni K. Seppänen http://www.iki.fi/jks -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] kwdoc processing with decorators
It appears that the docstring.py module somehow got omitted from the rev5 patch (I was working from two different machines, and one didn't have it added to SVN). So I'm attaching missing_docstring.patch which is a patch against the latest trunk to include the latest version of docstring.py. It's functionally the same as the version that Eric has tested against in rev 4, but a documentation string has changed in the last method. Sorry for the mixup. Jason -Original Message- From: Eric Firing [mailto:efir...@hawaii.edu] Sent: Thursday, 13 August, 2009 21:33 To: Jason R. Coombs Cc: matplotlib development list Subject: Re: [matplotlib-devel] kwdoc processing with decorators Jason R. Coombs wrote: > I'm about to upload a new patch that implements some of the ideas John and > Darren have sent. Would you mind running the performance tests against that > one also? This new change has the potential to increase performance drag. Jason, There is a problem with rev4, running "ipython -pylab": In [1]:plot([1,2]) --- AttributeErrorTraceback (most recent call last) /home/efiring/ in () /usr/local/lib/python2.6/dist-packages/matplotlib/docstring.pyc in (target) 334 # language" - GVR. I think functools might help when Python 2.5 335 # is required. --> 336 return lambda target: dedent(copy(source)(target)) 337 from matplotlib import cbook 338 /usr/local/lib/python2.6/dist-packages/matplotlib/docstring.pyc in do_copy(target) 422 def do_copy(target): 423 if source.__doc__: --> 424 target.__doc__ = source.__doc__ 425 return target 426 return do_copy AttributeError: 'list' object attribute '__doc__' is read-only Eric missing_docstring.patch Description: Binary data smime.p7s Description: S/MIME cryptographic signature -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] kwdoc processing with decorators
Jason R. Coombs wrote: > It appears that the docstring.py module somehow got omitted from the rev5 > patch (I was working from two different machines, and one didn't have it > added to SVN). > > So I'm attaching missing_docstring.patch which is a patch against the latest > trunk to include the latest version of docstring.py. It's functionally the > same as the version that Eric has tested against in rev 4, but a > documentation string has changed in the last method. > > Sorry for the mixup. > > Jason Thank you. When I committed the rev5 patch earlier, I did not notice that I needed to do "svn add docstring.py", so it was not included at all. Now I think everything is in place, as of 7496. Eric -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel