Hellooooooooo everybody,

This email is just here to share the news that our documentation can
now "relatively easily" be improved by sage-generated pictures. This
feature appeared in Sage 6.6.beta0.

To draw the function x->x^2 in a docstring, you have to write the following:

.. PLOT::

    sphinx_plot(plot(x^2))

If you want to see Petersen's graph instead, write:

.. PLOT::

    g = graphs.PetersenGraph()
    sphinx_plot(g.plot())

Now we have behind us a loooooooong history of docstrings which would
be 10x easier to understand with pictures. Let's get it fixed, and
write the future ones with more colors.

Have fuuuuuuuuun,

Nathann

-- 
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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to