#9957: Parametric Surfaces don't load well
------------------------+---------------------------------------------------
Reporter: kcrisman | Owner: jason, was
Type: defect | Status: new
Priority: minor | Milestone: sage-4.6.1
Component: graphics | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Comment(by kcrisman):
This can be traced down to the fact that in `parametric_surface.pyx`
{{{
def get_grid(self, ds):
"""
TEST::
sage: from sage.plot.plot3d.parametric_surface import
ParametricSurface
sage: def f(x,y): return x+y,x-y,x*y
sage: P = ParametricSurface(f)
sage: P.get_grid(.1)
Traceback (most recent call last):
...
NotImplementedError: You must override the get_grid method.
"""
if self.render_grid is None:
raise NotImplementedError, "You must override the get_grid
method."
return self.render_grid
}}}
which is called from `triangulate` when you try to view the plot. For
some reason the `render_grid` attribute isn't set in `q`, but in `p` it
is. I don't know how to access these attributes, unfortunately...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9957#comment:1>
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].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.