> Just upgraded to SAGE 3.1.1. The sliders have suddenly started > producing floating-point values; that is, > > num_approx=slider(1,5,default=2,label="Number of steps") > > gives me a slider whose initial value is 2.00200400802, and that when > I slide from left to right can give me values such as 1.3 etc. I think > this is due to a recent bugfix.
Yes. Actually the change corrected seemingly arbitrary behavior with sliders when two different forms of slider input produced different results. > Typing step_size=1 produces the old, desired behavior, but according > to the documentation step_size=1 is the default. > > What is the expected future behavior? In the future, sliders should be "continuous" by default, that is, having as many possible values as the width of the slider allows. This is a documentation bug and thank you for pointing it out. Igor Tolkov --~--~---------~--~----~------------~-------~--~----~ 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-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
