Opened 12 years ago
Closed 12 years ago
#5248 closed defect (duplicate)
edge_colors does not work on loops (fixed by #3541)
Reported by: | mhampton | Owned by: | rlm |
---|---|---|---|
Priority: | major | Milestone: | sage-3.3 |
Component: | graph theory | Keywords: | graphs |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | Work issues: | ||
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
The following example illustrates the problem. Loops are treated seperately, and not correctly colored (they are always black).
g = graphs.CompleteGraph(3) g.loops(True) g.add_edge(0,0) c_dict = {"red":[(0,0)], "blue":[(0,1),(1,2),(0,2)]} show(g.plot(edge_colors = c_dict))
Change History (3)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
- Milestone changed from sage-3.4.1 to sage-3.3
- Summary changed from edge_colors does not work on loops to edge_colors does not work on loops (fixed by #3541)
comment:3 Changed 12 years ago by
- Resolution set to duplicate
- Status changed from new to closed
This is now fixed by #3541. Cheers.
Note: See
TracTickets for help on using
tickets.
Ticket #3541 is going to contain an overhaul of the graph plotting code. Since I'm refereeing, I'll make sure that this is fixed in that patch.