#18238: Options ignored in show() of 3D objects
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  egourgoulhon           |       Status:  needs_work
           Type:         |    Milestone:  sage-6.7
  defect                 |   Resolution:
       Priority:  major  |    Merged in:
      Component:         |    Reviewers:  Volker Braun
  graphics               |  Work issues:
       Keywords:         |       Commit:
        Authors:  Eric   |  ff3731d4078f7db2caf2b62cb8cc45b777753ef9
  Gourgoulhon            |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  public/18238           |
   Dependencies:         |
-------------------------+-------------------------------------------------
Changes (by ncohen):

 * status:  positive_review => needs_work


Comment:

 Hellooooooooooo,

 The problem is fixed indeed, but the way this `_process_viewing_options`
 function works it only stores in `opt` the function that are actually used
 later. It is well implemented: your original dictionary has been stripped
 of what is now in 'opt', but as a result we get:

 {{{
 sage: show(sphere(), heyheyhey=35) # no problem
 }}}

 Could you raise an exception whenever `kwds` is not empty after
 `_process_viewing_options` reduced it? Sometimes you type `fgisize=4` and
 can look for a while before you notice what exactly is going wrong.

 Thanks,

 Nathann

--
Ticket URL: <http://trac.sagemath.org/ticket/18238#comment:4>
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.

Reply via email to