#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 ncohen):
Hey, I just noticed that .graphplot and .plot just do not do the same
thing.
graphplot :
{{{
return GraphPlot(graph=self, options=options)
}}}
plot :
{{{
return GraphPlot(graph=self, options=options).plot()
}}}
So it does not really make sense to deprecate one by making it an alias to
the other one !
The question is : do we need a graphplot method, and what for (knowing
that it takes two lines to create the graphplot object from the graph) ?
If we do then it stays, if we don't we remove it, or add whatever
deprecation warning you may want, but we can't make it an alias of
anything.
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13891#comment:39>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.