#11963: aspect ratio is not handled correctly in combined plots
------------------------+---------------------------------------------------
Reporter: novoselt | Owner: jason, was
Type: defect | Status: new
Priority: major | Milestone: sage-4.7.3
Component: graphics | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------+---------------------------------------------------
Comment(by jhpalmieri):
Notice:
{{{
sage: p = circle((1,4), 3)
sage: p._extra_kwds
{}
sage: q = line([(3,4), (5,6)])
sage: q._extra_kwds
{'aspect_ratio': 'automatic'}
}}}
So when you add p and q, the `_extra_kwds` dicts get combined, so the
automatic aspect ratio for q overrides the setting for p.
There are lots of different settings for plots, and they don't seem to be
stored in consistent ways: some are in this `_extra_kwds` dict, some (like
`__aspect_ratio`) are stored as attributes, and some (like "aspect ratio")
are stored in more than one way, not necessarily consistently.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11963#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.