#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 ppurka):
I saw a few more documentation problems that are a leftover from your
earlier patches. Noticing this only now - sorry `:-/`
The following should be `GenericGraph.graphplot` since plot doesn't take
any options now.
{{{
29 Here is the list of options accepted by :meth:`GraphPlot.plot` and
the
79 This module defines two dictionaries containing default options
for the
80 :meth:`~GraphPlot.plot` and :meth:`~GraphPlot.show` methods. These
two
29 This module defines two dictionaries containing default options
for the
30 :meth:`~GraphPlot.plot` and :meth:`~GraphPlot.show` methods.
Obviously, these
}}}
Shouldn't this be changed now? Now, graph.plot() doesn't take anything.
{{{
def graphplot(self, **options):
"""
Returns a GraphPlot object.
EXAMPLES:
Creating a graphplot object uses the same options as
graph.plot()::
}}}
Maybe write it like this?
{{{
def graphplot(self, **options):
"""
Returns a GraphPlot object.
See :mod:`the documentation of the graph_plot
module<sage.graphs.graph_plot>` for
information on default values of this method.
EXAMPLES::
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13891#comment:31>
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.