#2476: plot3d for graphs with loops returns a ZeroDivisionError
----------------------+-----------------------------------------------------
Reporter: was | Owner: was
Type: defect | Status: closed
Priority: major | Milestone: sage-duplicate/invalid/wontfix
Component: graphics | Resolution: invalid
Keywords: |
----------------------+-----------------------------------------------------
Changes (by mhansen):
* status: new => closed
* resolution: => invalid
* milestone: sage-4.0.1 => sage-duplicate/invalid/wontfix
Comment:
This ticket is now invalid:
{{{
----------------------------------------------------------------------
| Sage Version 4.0.1.rc1, Release Date: 2009-06-04 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: sage: g = Graph({1:[1,2]}, loops=True)
sage: sage: g.plot3d()
---------------------------------------------------------------------------
NotImplementedError Traceback (most recent call
last)
/home/mhansen/.sage/temp/sage.math.washington.edu/21917/_home_mhansen__sage_init_sage_0.py
in <module>()
/scratch/mhansen/release/4.0.1/rc1/sage-4.0.1.rc1/local/lib/python2.5
/site-packages/sage/graphs/graph.pyc in plot3d(self, bgcolor,
vertex_colors, vertex_size, edge_colors, edge_size, edge_size2, pos3d,
iterations, color_by_label, engine, **kwds)
6617 """
6618 if self.has_multiple_edges() or self.has_loops():
-> 6619 raise NotImplementedError("3D plotting of multiple
edges or loops not implemented.")
6620 if engine == 'jmol':
6621 from sage.plot.plot3d.all import sphere, line3d,
arrow3d
NotImplementedError: 3D plotting of multiple edges or loops not
implemented.
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2476#comment:2>
Sage <http://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]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---