#7793: zorder not implemented in disk
------------------------+---------------------------------------------------
Reporter: kcrisman | Owner: was
Type: defect | Status: new
Priority: minor | Milestone: sage-4.3.1
Component: graphics | Keywords:
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
------------------------+---------------------------------------------------
From the report a bug link:
It seems that the zorder does not work with disk(). I found a report
saying that this was resolved for point() and polygon(), (and I know it
works) but nothing about disk(). I found this using the following test:
{{{
d1 = disk((0,0), 1, (0, 2*pi), color = 'red', zorder=0)
d2 = disk((0,0), 0.75, (0, 2*pi), color = 'brown', zorder=1)
d3 = disk((0,0), 0.5, (0, 2*pi), color = 'green', zorder= 2)
d4 = disk((0,0), 0.25, (0, 2*pi), color = 'yellow', zorder=3)
final = d4 + d3 + d2 + d1
final.show(aspect_ratio = 1)
}}}
Incidentally (not in the report), this shows that axes apparently have
default zorder of 2. So do arrows, but polygons have a default of 1.
This is confusing.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7793>
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.