#14223: Fix 3d plots to not ignore user prespecified aspect_ratio.
-----------------------------------------+----------------------------
       Reporter:  nthiery                |        Owner:  jason, was
           Type:  defect                 |       Status:  needs_review
       Priority:  major                  |    Milestone:  sage-5.12
      Component:  graphics               |   Resolution:
       Keywords:                         |    Merged in:
        Authors:  Punarbasu Purkayastha  |    Reviewers:
Report Upstream:  N/A                    |  Work issues:
         Branch:                         |       Commit:
   Dependencies:                         |     Stopgaps:
-----------------------------------------+----------------------------

Comment (by ppurka):

 Ok. I updated the patch and also fixed this bug:
 {{{
 sage: show(cube(), frame_aspect_ratio=1)
 ...
 TypeError: 'sage.rings.integer.Integer' object is not iterable
 }}}

 The inconsistency in comment:12 remains, but it can not be reliably fixed.
 We can check for `aspect_ratio=[1.0,1.0,1.0]` in addition to
 `aspect_ratio='automatic'`, but then a small change in `aspect_ratio`, for
 example, `aspect_ratio=[1.1, 1.0, 1.0]` will again lead to inconsistency
 in
 the computation of `frame_aspect_ratio`.

 Patchbot apply trac_14223-fix_3d_aspect_ratio.patch

--
Ticket URL: <http://trac.sagemath.org/ticket/14223#comment:19>
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/groups/opt_out.

Reply via email to