Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

interact variable print formatting

Hello,

Say that I have a simple interact function shown as below:

@interact
def myplot(u=(0.5,(0.1,10)), R=(20e-6,(20e-6,1000e-6))):
    #plotting code

Is there a way to print formatting of these variables in the interact zone; 2 digit float for u and e-form for the R. Currently I see both variables as many digit outputs.

Thanks.