[sage-devel] Re: online documentation and "long time"
I created ticket 20339 for that, and fixed it. (needs review if you wish) El martes, 22 de marzo de 2016, 9:49:29 (UTC+1), Samuel Lelievre escribió: > > The page > > http://doc.sagemath.org/html/en/reference/plotting/sage/plot/plot.html > > has this: > > Pi Axis > > sage: g1 = plot(sin(x), 0, 2*pi) > sage: g2 = plot(cos(x), 0, 2*pi, linestyle = "--") > sage: (g1+g2).show(ticks=pi/6, tick_formatter=pi) # long time > # show their sum, nicely formatted > > with no illustration appearing after the code. > > Shouldn't the "long time" stuff appear anyway in the online documentation? > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: online documentation and "long time"
As far as I know there is only a switch to "all" plots. ¿Should we append the "long time" comment to the sphinx_plot command, in case somebody decides to implement such a swithc later? El martes, 22 de marzo de 2016, 11:24:26 (UTC+1), Dima Pasechnik escribió: > > > > On Tuesday, March 22, 2016 at 9:53:42 AM UTC, Eric Gourgoulhon wrote: >> >> >> >> Le mardi 22 mars 2016 10:38:43 UTC+1, Harald Schilly a écrit : >>> >>> >>> >>> On Tuesday, March 22, 2016 at 9:49:29 AM UTC+1, Samuel Lelievre wrote: Shouldn't the "long time" stuff appear anyway in the online documentation? >>> >>> Well, do you have any idea how to do that? >>> >>> It's easy: the Sphinx plot directive is independent from the doctest >> one. One has simply to repeat the plot instructions. >> In the above case (assuming we maintain the long time marker), this would >> be: >> >> sage: g1 = plot(sin(x), 0, 2*pi) >> sage: g2 = plot(cos(x), 0, 2*pi, linestyle = "--") >> sage: (g1+g2).show(ticks=pi/6, tick_formatter=pi) # long time >> >> .. PLOT:: >> >> g1 = plot(sin(x), 0, 2*pi, ticks=pi/6, tick_formatter=pi) >> g2 = plot(cos(x), 0, 2*pi, linestyle = "--", ticks=pi/6, >> tick_formatter=pi) >> sphinx_plot(g1+g2) >> >> > well, I suppose one wants to have all # long time docs in your manual, > plot or no plot. Is there an switch to do this? > > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: online documentation and "long time"
I remember that a few of the plots just didn't work (and I didn't find a work around) so I dropped them . I will look into it and my notes and get back with either a trac ticket or more information on this. El martes, 22 de marzo de 2016, 10:53:42 (UTC+1), Eric Gourgoulhon escribió: > > > > Le mardi 22 mars 2016 10:38:43 UTC+1, Harald Schilly a écrit : >> >> >> >> On Tuesday, March 22, 2016 at 9:49:29 AM UTC+1, Samuel Lelievre wrote: >>> >>> >>> Shouldn't the "long time" stuff appear anyway in the online >>> documentation? >>> >> >> Well, do you have any idea how to do that? >> >> It's easy: the Sphinx plot directive is independent from the doctest > one. One has simply to repeat the plot instructions. > In the above case (assuming we maintain the long time marker), this would > be: > > sage: g1 = plot(sin(x), 0, 2*pi) > sage: g2 = plot(cos(x), 0, 2*pi, linestyle = "--") > sage: (g1+g2).show(ticks=pi/6, tick_formatter=pi) # long time > > .. PLOT:: > > g1 = plot(sin(x), 0, 2*pi, ticks=pi/6, tick_formatter=pi) > g2 = plot(cos(x), 0, 2*pi, linestyle = "--", ticks=pi/6, > tick_formatter=pi) > sphinx_plot(g1+g2) > > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: online documentation and "long time"
On Tuesday, March 22, 2016 at 9:53:42 AM UTC, Eric Gourgoulhon wrote: > > > > Le mardi 22 mars 2016 10:38:43 UTC+1, Harald Schilly a écrit : >> >> >> >> On Tuesday, March 22, 2016 at 9:49:29 AM UTC+1, Samuel Lelievre wrote: >>> >>> >>> Shouldn't the "long time" stuff appear anyway in the online >>> documentation? >>> >> >> Well, do you have any idea how to do that? >> >> It's easy: the Sphinx plot directive is independent from the doctest > one. One has simply to repeat the plot instructions. > In the above case (assuming we maintain the long time marker), this would > be: > > sage: g1 = plot(sin(x), 0, 2*pi) > sage: g2 = plot(cos(x), 0, 2*pi, linestyle = "--") > sage: (g1+g2).show(ticks=pi/6, tick_formatter=pi) # long time > > .. PLOT:: > > g1 = plot(sin(x), 0, 2*pi, ticks=pi/6, tick_formatter=pi) > g2 = plot(cos(x), 0, 2*pi, linestyle = "--", ticks=pi/6, > tick_formatter=pi) > sphinx_plot(g1+g2) > > well, I suppose one wants to have all # long time docs in your manual, plot or no plot. Is there an switch to do this? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: online documentation and "long time"
Le mardi 22 mars 2016 10:38:43 UTC+1, Harald Schilly a écrit : > > > > On Tuesday, March 22, 2016 at 9:49:29 AM UTC+1, Samuel Lelievre wrote: >> >> >> Shouldn't the "long time" stuff appear anyway in the online >> documentation? >> > > Well, do you have any idea how to do that? > > It's easy: the Sphinx plot directive is independent from the doctest one. One has simply to repeat the plot instructions. In the above case (assuming we maintain the long time marker), this would be: sage: g1 = plot(sin(x), 0, 2*pi) sage: g2 = plot(cos(x), 0, 2*pi, linestyle = "--") sage: (g1+g2).show(ticks=pi/6, tick_formatter=pi) # long time .. PLOT:: g1 = plot(sin(x), 0, 2*pi, ticks=pi/6, tick_formatter=pi) g2 = plot(cos(x), 0, 2*pi, linestyle = "--", ticks=pi/6, tick_formatter= pi) sphinx_plot(g1+g2) -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: online documentation and "long time"
On Tuesday, March 22, 2016 at 9:49:29 AM UTC+1, Samuel Lelievre wrote: > > > Shouldn't the "long time" stuff appear anyway in the online documentation? > Well, do you have any idea how to do that? -- harald -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.