[sage-devel] Re: Saving plots and auto-generating doc images

2009-09-19 Thread Pat LeSmithe
Jason Grout wrote: > Pat LeSmithe wrote: >> Sorry, if this is too much detail. The non-static case is still just >> conjecture, but it should be easier to implement with your insight below. > Wow, your ideas are fantastic. I'm really glad we have someone as > capable as you working on this. Th

[sage-devel] Re: Saving plots and auto-generating doc images

2009-09-18 Thread Jason Grout
Pat LeSmithe wrote: > Jason Grout wrote: >> Pat LeSmithe wrote: >>> The immediate context, at least for me, is automatically generating >>> images in the documentation (#6847, nothing yet). Currently, this uses >>> a modified version of a matplotlib Sphinx directive with a new comment >>> modifie

[sage-devel] Re: Saving plots and auto-generating doc images

2009-09-18 Thread Pat LeSmithe
Jason Grout wrote: > Pat LeSmithe wrote: >> The immediate context, at least for me, is automatically generating >> images in the documentation (#6847, nothing yet). Currently, this uses >> a modified version of a matplotlib Sphinx directive with a new comment >> modifier, e.g. >> >> .. plot:: >>

[sage-devel] Re: Saving plots and auto-generating doc images

2009-09-18 Thread Jason Grout
Pat LeSmithe wrote: > If I execute > > sage: circle((0,0), 3, rgbcolor=(0.8,0,0.7), aspect_ratio=1) > > or > > sage: a = circle((0,0), 3, rgbcolor=(0.8,0,0.7), aspect_ratio=1) > > followed by one of > > sage: a > sage: a.show() > > I see a circle with aspect ratio 1. But if I run > > sage:

[sage-devel] Re: Saving plots and auto-generating doc images

2009-09-18 Thread William Stein
On Fri, Sep 18, 2009 at 5:55 PM, Pat LeSmithe wrote: > > If I execute > > sage: circle((0,0), 3, rgbcolor=(0.8,0,0.7), aspect_ratio=1) > > or > > sage: a = circle((0,0), 3, rgbcolor=(0.8,0,0.7), aspect_ratio=1) > > followed by one of > > sage: a > sage: a.show() > > I see a circle with aspect rat

[sage-devel] Re: Saving plots and auto-generating doc images

2009-09-18 Thread Pat LeSmithe
Pat LeSmithe wrote: > ':no-source:,' that affect an entire block.) Backstage, Sphinx > generates and runs, e.g., > [...] > What if we added a "display=None" flag? It it's set, show() makes no > images but updates and *returns* a Graphics object? Neither change is > essential, but they would sim