#13891: Default parameters for Graph.plot() and Graph.show()
---------------------------------+------------------------------------------
Reporter: ncohen | Owner: jason, ncohen, rlm
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.7
Component: graph theory | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Punarbasu Purkayastha,
Sébastien Labbé
Authors: Nathann Cohen | Merged in:
Dependencies: #13862 | Stopgaps:
---------------------------------+------------------------------------------
Comment (by slabbe):
Replying to [comment:18 ppurka]:
> Replying to [comment:16 slabbe]:
> > A. Somebody can explain me what is the specification differences
between {{{show}}} and {{{plot}}}?
>
> `plot` returns an object of class `Graphics`. `show` actually calls
matplotlib, renders the `Graphics` object, and then displays the result.
For me, I think the confusion comes from the fact that using plot actually
opens the png. I like it if plot returns the Graphics object without
opening any png and show returning None and openning the png.
Thanks for your answers!
I will continue my review (on sage-5.6.rc0 the patch applies fine) and let
you check the other SHOW_OPTIONS thing.
Sébastien
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13891#comment:19>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.