#5448: [with patch, needs work] rework save/show in plot, use Matplotlib's axes
code, upgrade matplotlib
-------------------------+--------------------------------------------------
Reporter: mhansen | Owner: mhansen
Type: enhancement | Status: assigned
Priority: major | Milestone: sage-4.1.2
Component: graphics | Keywords:
Reviewer: | Author:
Merged: |
-------------------------+--------------------------------------------------
Comment(by jason):
I updated the patch to:
1. if zero is within 1% of the range, but is not included in the range,
then extend the range to include zero.
2. fix axes labels for cases where the axes are not on the top or the
right. A full solution is waiting for a response on the matplotlib
mailing list---there might be a bug in how matplotlib handles things.
3. Introduced a simple "transparent" option to show, which saves the image
with transparent background. This is a subset of the functionality
implemented at #260. I think #260 ought to go ahead and implement its
functionality in full generality (i.e., let the user specify the
background color and opacity of a plot), but my change in this patch lets
the user easily generate a transparent background using the function
already provided by matplotlib.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5448#comment:28>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---