#17498: Pictures in the doc through ".. plot::" directive
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  ncohen                 |       Status:  needs_review
           Type:         |    Milestone:  sage-6.5
  enhancement            |   Resolution:
       Priority:  major  |    Merged in:
      Component:         |    Reviewers:
  documentation          |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  8bbec182e0e68f4679dab359717fe92eb0388c5f
  Nathann Cohen          |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  public/17498           |
   Dependencies:         |
-------------------------+-------------------------------------------------

Comment (by ncohen):

 > At LMFDB, we convert Sage Plots `P` to an encoded string. Maybe it
 produces better results this way?

 What do you mean ? You think that storing the picture in a file damages it
 ? `:-P`

 > (in fact, I don't understand how the actual image ends up in the HTML
 anyways.)

 I would say that "it's all global variables anyway". When you want to plot
 a picture it seems that you have to import `matplotlib.pyplot as plt` and
 then you do things like `plt.margins()` or `plt.axis('off')`. So
 matplotlib probably takes that very object and makes it output its result
 in a file instead...

 Anyway.  Who could review this patch ? And we could start adding drawings
 to Sage's doc.

 Nathann

--
Ticket URL: <http://trac.sagemath.org/ticket/17498#comment:14>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to