#7808: Plots seem to be shifted up and to the left by one pixel or so
---------------------------+------------------------------------------------
Reporter: jason | Owner: was
Type: defect | Status: needs_info
Priority: major | Milestone: sage-4.4.4
Component: graphics | Keywords:
Author: Jason Grout | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Comment(by jason):
Instead of applying the patch above, you can also do:
1. Install #9208 (to the scripts repository)
2. If you've moved Sage from the build directory, then move it back to the
original build location, delete SAGE_ROOT/local/lib/sage-current-
location.txt, install #9210, start up and close down Sage, (and then you
can move the sage directory back to wherever you had it in step 1).
2. Install the new matplotlib spkg at #9202
Now just type this in a notebook cell:
{{{
import matplotlib
matplotlib.rcParams['path.snap'] = False
}}}
Then the plots will go right through the origin. This is equivalent
(better, actually), than the patch above, as it makes *all*
horizontal/vertical lines not snap to the nearest pixel.
So now the debate is if we should make path.snap by default False (it is
True by default in matplotlib).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7808#comment:8>
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.