Re: [matplotlib-devel] A small improvement to plot directive

2010-02-03 Thread Fernando Perez
On Thu, Jan 28, 2010 at 2:51 PM, Fernando Perez wrote: > Thanks, with your and John's (off-list) approvals, it's committed. > The patch that went in had more docs than what I posted here, but the > code is identical. Oops, somehow my commit had never made it, I just noticed now I was trying to us

Re: [matplotlib-devel] A small improvement to plot directive

2010-01-28 Thread Fernando Perez
On Wed, Jan 27, 2010 at 6:06 PM, Andrew Straw wrote: > I'm +1 on this. We can have then have the buildbot doc builder enable > this when building the docs. (Which are output at > http://matplotlib.sourceforge.net/trunk-docs/ and > http://matplotlib.sourceforge.net/trunk-docs/Matplotlib.pdf , for >

Re: [matplotlib-devel] A small improvement to plot directive

2010-01-27 Thread Andrew Straw
Fernando Perez wrote: > Hi all, > > would anyone mind if I commit the attached patch? > > It's 100% backwards compatible and allows for turning plot directive > errors into fatal exceptions easily, so one can make sure that docs > either build correctly or not at all. This is useful for having > e

[matplotlib-devel] A small improvement to plot directive

2010-01-27 Thread Fernando Perez
Hi all, would anyone mind if I commit the attached patch? It's 100% backwards compatible and allows for turning plot directive errors into fatal exceptions easily, so one can make sure that docs either build correctly or not at all. This is useful for having examples be a kind of test suite, in