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.

Reply via email to