Re: [matplotlib-devel] plot directive, thank you and a question

2010-11-09 Thread Matthew Brett
Hi, On Mon, Nov 8, 2010 at 7:06 PM, John Hunter wrote: > On Mon, Nov 8, 2010 at 6:55 PM, Matthew Brett wrote: ... >> and so on.  I mean, the ability to keep the code context across the >> page, both in the ..plot: and ..testcode:: and even >>> directives, so >> I can build up my tutorial example

Re: [matplotlib-devel] plot directive, thank you and a question

2010-11-08 Thread John Hunter
On Mon, Nov 8, 2010 at 6:55 PM, Matthew Brett wrote: > First - thank you - it makes my heart very glad to be able to do this: > > .. plot:: >    :include-source: > >    import matplotlib.pyplot as plt >    plt.plot(range(10)) >    plt.show() > > Here's my question.   This is already a huge step fo

[matplotlib-devel] plot directive, thank you and a question

2010-11-08 Thread Matthew Brett
Hi, First - thank you - it makes my heart very glad to be able to do this: .. plot:: :include-source: import matplotlib.pyplot as plt plt.plot(range(10)) plt.show() Here's my question. This is already a huge step forward for me, but the full monty would be to be able to do: .