#9708: Jmol options to plot3d are not passed on to show
-------------------------------+--------------------------
Reporter: was | Owner: jason, was
Type: defect | Status: new
Priority: major | Milestone: sage-6.4
Component: graphics | Resolution:
Keywords: plot3d mesh | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------+--------------------------
Comment (by kcrisman):
Okay, I think the problem here is likely to be that in all the 3d plot
stuff in `src/sage/plot/plot3d/plot3d.py` usually puts ALL keywords into
something like
{{{
texture = Texture(kwds)
}}}
and it's never seen again. But in `src/sage/plot/plot3d/texture.py` the
initialization of `Texture_class` (which is called by `Texture`) is
{{{
def __init__(self, id, color=(.4, .4, 1), opacity=1, ambient=0.5,
diffuse=1, specular=0, shininess=1, name=None, **kwds):
}}}
never then uses any of the `kwds`. I can imagine fixing this by ''only''
allowing "used" keywords to be passed on to `Texture` and the rest
(somehow) are passed on to `show()`, or by doing something in
`Texture_class`. I would prefer the former.
--
Ticket URL: <http://trac.sagemath.org/ticket/9708#comment:15>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.