On Friday, January 19, 2018 at 10:28:55 AM UTC, Jori Mäntysalo wrote:
>
> On Fri, 19 Jan 2018, Dima Pasechnik wrote:
>
> > I think it does matter for the user: in EXAMPLES one should put examples
> > useful for the user, and G.show() is more flexible, e.g. one can do
> > G.show(method="js") t
On Fri, 19 Jan 2018, Dima Pasechnik wrote:
I think it does matter for the user: in EXAMPLES one should put examples
useful for the user, and G.show() is more flexible, e.g. one can do
G.show(method="js") to show G in the browser.
True, but is it meaningfull to say for most graphs that this-a
On Thursday, January 18, 2018 at 11:24:56 PM UTC, Travis Scrimshaw wrote:
>
>
> > I don't think plot, unlike show, actually goes through and does the
>> > rendering of the image and discards the result. However, I could be
>> > wrong about this.
>>
>> You were right. After
>>
>> perl -e 's/(G
> > I don't think plot, unlike show, actually goes through and does the
> > rendering of the image and discards the result. However, I could be
> > wrong about this.
>
> You were right. After
>
> perl -e 's/(G|g)\.show\(\)/_=\1.plot()/g;' -p -i.bak
> src/sage/graphs/generators/platonic_solid
On Wed, 17 Jan 2018, Travis Scrimshaw wrote:
I don't think plot, unlike show, actually goes through and does the
rendering of the image and discards the result. However, I could be
wrong about this.
You were right. After
perl -e 's/(G|g)\.show\(\)/_=\1.plot()/g;' -p -i.bak
src/sage/graphs/g
On Wednesday, January 17, 2018 at 12:25:06 PM UTC-6, Jori Mäntysalo wrote:
>
> On Wed, 17 Jan 2018, Travis Scrimshaw wrote:
>
> > It might be better to do the plot() instead as that returns a graphics
> object, and I believe is
> > faster (but I have no quantitative evidence of this).
>
> I d
On Wed, 17 Jan 2018, Travis Scrimshaw wrote:
It might be better to do the plot() instead as that returns a graphics object,
and I believe is
faster (but I have no quantitative evidence of this).
I don't think so. There is no real canvas where show() could draw in test
mode, so the time shoul