#9638: Interact sliders should be able to have negative step size
------------------------+---------------------------------------------------
   Reporter:  kcrisman  |       Owner:  itolkov, jason
       Type:  defect    |      Status:  new           
   Priority:  minor     |   Milestone:                
  Component:  interact  |    Keywords:                
     Author:            |    Upstream:  N/A           
   Reviewer:            |      Merged:                
Work_issues:            |  
------------------------+---------------------------------------------------
 Stepping backwards on sliders.  Currently,
 {{{
 @interact
 def _(n=slider(100,0,-1,1)):
     print n
 }}}
 gives the error
 {{{
 ValueError, "invalid negative step size -- step size must be
 positive"
 }}}
 as far as I know.  Allowing this could be very helpful, but maybe
 there was a reason not to do this I am unaware of - the explicit
 ValueError leads me to think so, since whoever wrote it put knew this
 could happen!

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9638>
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