#5448: [with patch, positive review] 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: Jason Grout
Merged: |
-------------------------+--------------------------------------------------
Comment(by jason):
Both of you, please make sure you are using the most recent version of the
patch (from around the time I posted to sage-devel). Sorry for the rapid
iteration---your feedback has very helpful.
1. Transparency: this should just be an option to show now, so this should
work:
{{{
sage: plot(x^2, (x, 0, 1), transparent=True)
}}}
Of course, in a web browser, you will "see" a white background through the
image. If you save the image, you can "see" the transparent background.
Your viewer may not be showing you the transparency easily.
2. Deprecations: Just delete (or update) your .sage/matplotlibrc file. If
you haven't touched that file, then deleting it is fine.
3. scientific notation: I switched to using the "old" matplotlib tick
formatter in the most recent patch. I'm not on a computer that has 4.1.1,
so I can't test what you are seeing at the moment. In any case, it will
be really easy to do whatever you want with formatting ticks once this
patch goes in.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5448#comment:41>
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
-~----------~----~----~----~------~----~------~--~---