[sage-devel] Re: showing graphics at a specific place in the notebook

2009-04-21 Thread Wilfried_Huss
On 20 Apr., 21:04, Jason Grout wrote: > kcrisman wrote: > > >> Patch up athttp://trac.sagemath.org/sage_trac/ticket/5836 > > > I ask out of ignorance - will this somehow break how interacts > > currently work?  Maybe it will even make them better? > > better; much better. > > Now you can contro

[sage-devel] Re: showing graphics at a specific place in the notebook

2009-04-20 Thread Jason Grout
kcrisman wrote: > > >> Patch up athttp://trac.sagemath.org/sage_trac/ticket/5836 > > I ask out of ignorance - will this somehow break how interacts > currently work? Maybe it will even make them better? > better; much better. Now you can control what the output looks like (i.e., the order o

[sage-devel] Re: showing graphics at a specific place in the notebook

2009-04-20 Thread kcrisman
> > Patch up athttp://trac.sagemath.org/sage_trac/ticket/5836 I ask out of ignorance - will this somehow break how interacts currently work? Maybe it will even make them better? Just checking, - kcrisman --~--~-~--~~~---~--~~ To post to this group, send email t

[sage-devel] Re: showing graphics at a specific place in the notebook

2009-04-20 Thread Jason Grout
Jason Grout wrote: > William Stein wrote: > >> {{{id=13| >> f = show(plot(sin,0,2)) >> /// >> }}} >> >> {{{id=10| >> f # should *not* show the plot! >> /// >> }}} > > > Okay, the "should not" above answers my question. I felt like it > should, but I can see an argument for why not to

[sage-devel] Re: showing graphics at a specific place in the notebook

2009-04-20 Thread Jason Grout
William Stein wrote: > {{{id=13| > f = show(plot(sin,0,2)) > /// > }}} > > {{{id=10| > f # should *not* show the plot! > /// > }}} Okay, the "should not" above answers my question. I felt like it should, but I can see an argument for why not too. I'll work with your approach. Than

[sage-devel] Re: showing graphics at a specific place in the notebook

2009-04-20 Thread William Stein
On Mon, Apr 20, 2009 at 10:35 AM, Jason Grout wrote: > > William Stein wrote: >> On Mon, Apr 20, 2009 at 10:17 AM, Jason Grout >> wrote: >>> William Stein wrote: On Mon, Apr 20, 2009 at 9:50 AM, Nick Alexander wrote: >> If there's not currently an easy way to do this, There

[sage-devel] Re: showing graphics at a specific place in the notebook

2009-04-20 Thread Jason Grout
William Stein wrote: > On Mon, Apr 20, 2009 at 10:17 AM, Jason Grout > wrote: >> William Stein wrote: >>> On Mon, Apr 20, 2009 at 9:50 AM, Nick Alexander >>> wrote: > If there's not currently an easy way to do this, >>> There isn't one. >>> > I think this could > easily be accomplis

[sage-devel] Re: showing graphics at a specific place in the notebook

2009-04-20 Thread Jason Grout
William Stein wrote: > On Mon, Apr 20, 2009 at 9:50 AM, Nick Alexander wrote: >>> If there's not currently an easy way to do this, > > There isn't one. > >>> I think this could >>> easily be accomplished by having the show command return the ">> src='cell://filename'/>" tag that we would normal

[sage-devel] Re: showing graphics at a specific place in the notebook

2009-04-20 Thread William Stein
On Mon, Apr 20, 2009 at 10:17 AM, Jason Grout wrote: > > William Stein wrote: >> On Mon, Apr 20, 2009 at 9:50 AM, Nick Alexander >> wrote: If there's not currently an easy way to do this, >> >> There isn't one. >> I think this could easily be accomplished by having the show comma

[sage-devel] Re: showing graphics at a specific place in the notebook

2009-04-20 Thread William Stein
On Mon, Apr 20, 2009 at 9:50 AM, Nick Alexander wrote: > >> If there's not currently an easy way to do this, There isn't one. >> I think this could >> easily be accomplished by having the show command return the "> src='cell://filename'/>" tag that we would normally do by hand, >> instead >> of

[sage-devel] Re: showing graphics at a specific place in the notebook

2009-04-20 Thread Nick Alexander
> If there's not currently an easy way to do this, I think this could > easily be accomplished by having the show command return the " src='cell://filename'/>" tag that we would normally do by hand, > instead > of just generating an image, returning None, and letting the notebook > automatically