Suppose you have a slider with given stepsize, say 0.1 like this
@interact
def _(a=slider(1,100,0.1)):
print a
Is it possible that the number printed right to the slider has only one decimal place?
| 1 | initial version |
Suppose you have a slider with given stepsize, say 0.1 like this
@interact
def _(a=slider(1,100,0.1)):
print a
Is it possible that the number printed right to the slider has only one decimal place?
| 2 | No.2 Revision |
Suppose you have a slider with given stepsize, say 0.1 like this
@interact
def _(a=slider(1,100,0.1)):
print a
Is it possible to adjust this, such that the number printed right to the slider has only one decimal place?
| 3 | No.3 Revision |
Suppose you have a slider with given stepsize, say 0.1 like this
@interact
def _(a=slider(1,100,0.1)):
print a
Is it possible to adjust this, such that the number printed to the right to of the slider has only one decimal place?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.