#20035: Enable thickness-option in graph plotting
-------------------------------------+-------------------------------------
Reporter: jmantysalo | Owner:
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-7.1
Component: graphics | Resolution:
Keywords: | Merged in:
Authors: Jori Mäntysalo | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jmantysalo/graph_plotting_thickness|
55ab51a78c7d73901a8a0b75f20378c99f2b8b47
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Old description:
> This trivial patch allows `thickness`-option in graph plotting. It seems
> to have forgotten from the option list.
>
> To test try for example
>
> {{{
> G = graphs.CompleteGraph(4)
> G.allow_loops(True)
> G.allow_multiple_edges(True)
> G.set_edge_label(1,3,'foo')
> G.set_edge_label(1,0,'foo')
> G.add_edge(1,1)
> G.add_edge(1,3)
> G.show(color_by_label=True, thickness=2.5)
> }}}
New description:
This trivial patch allows `thickness`-option in graph plotting. It seems
to have forgotten from the option list.
To test try for example
{{{
G = graphs.CompleteGraph(4)
G.allow_loops(True)
G.allow_multiple_edges(True)
G.set_edge_label(1,3,'foo')
G.set_edge_label(1,0,'foo')
G.add_edge(1,1)
G.add_edge(1,3)
G.show(color_by_label=True, edge_thickness=2.5)
}}}
--
Comment (by jmantysalo):
Replying to [comment:3 ncohen]:
> I am wondering about the name: `vertex_colors, edge_colors`, why not
`edge_thickness` to go with them?
True. Changed.
--
Ticket URL: <http://trac.sagemath.org/ticket/20035#comment:5>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.