#5713: multigraph plotting bug
--------------------------+-------------------------------------------------
 Reporter:  was           |       Owner:  ekirkman  
     Type:  defect        |      Status:  new       
 Priority:  major         |   Milestone:  sage-3.4.1
Component:  graph theory  |    Keywords:            
--------------------------+-------------------------------------------------
 {{{
 I just tried to plot a multigraph with setting positions of vertices,

 G=Graph({'a':['a','b','b','b','e'],'b':['c','d','e'],'c':
 ['c','d','d','d'],'d':['e']})

 G.show(pos={'a':[0,1],'b':[1,1],'c':[2,0],'d':[1,0],'e':[0,0]})

 and got an error

  File "/home/alec/sage/local/lib/python2.5/site-packages/sage/graphs/
 graph_plot.py", line 459, in set_edges
    odd_y = M[1] + d
 NameError: global name 'd' is not defined

 Without pos both show and plot work OK.

 Alec Mihailovs
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5713>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to