#8632: .save ignores ymin etc.
-----------------------------------+----------------------------------------
   Reporter:  damm                 |       Owner:  was       
       Type:  defect               |      Status:  needs_work
   Priority:  major                |   Milestone:  sage-4.6.2
  Component:  graphics             |    Keywords:            
     Author:  Andrey Novoseltsev   |    Upstream:  N/A       
   Reviewer:  Karl-Dieter Crisman  |      Merged:            
Work_issues:  needs patch          |  
-----------------------------------+----------------------------------------

Comment(by kcrisman):

 Replying to [comment:5 novoselt]:
 > Could you please remind me what is the usual temp directory for Sage?
 See line 1732 of your patch for #7981 ;-)  - `kwds.setdefault('filename',
 sage.misc.misc.tmp_filename() + '.png') `
 > Also, what exactly should the test do? How do I verify that images from
 `show` and `save` are the same? It seems like a waste of time on tests if
 it is only checked that these commands don't raise an exception - they
 were working before as well, just not as they should.
 Sadly, we can't do that yet.  (Matplotlib apparently does do this with
 Nose, but we don't have the capability yet.)   Partly this could be useful
 for the future day when we CAN check things like this...

 But for now the point is that at least someone can visually verify that
 there is a different min than $y=-5$ if they care to look.  We want to
 document that we have done something about the particular one.

 Alternately, you could try to ask a release manager to close this as a
 duplicate of #7981.  Personally, I think it would be worth adding an
 example to the save documentation that one can choose to either put the
 commands in `.save(foo=bar)` or to pass it one from `plot(f,foo=bar)`;
 that could be useful for a complete newbie to the code to see, so that
 they don't have to follow code around.

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