#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):

 Replying to [comment:10 kcrisman]:
 > I'm uncomfortable with the following comment in the patch
 > {{{
 > (but drawing another
 >  # horizontal/vertical line through the origin may not!)
 > }}}
 > But would that still be the case for the mpl upgrade piece?

 Setting path.snap to False makes all horizontal/vertical lines do the
 .set_snap(False) (not just the axes).  So using the rcParam as above would
 make all horizontal and vertical lines consistent.


 >
 > Otherwise it seems that 2 is the best option.  Axes that don't match is
 a similarly annoying thing to the moved-over pixel.

 In that case, all we have to do is set the matplotlib path.snap config
 parameter somewhere (either in our code, or provide a default
 matplotlibrc, or modify the default matplotlibrc in the spkg.

 I played a little with Mathematica, and it seems like they have both crisp
 horizontal lines *and* perfect axes.  I'm not quite sure what they are
 doing, though.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7808#comment:11>
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.

Reply via email to