Letractively / sagenb

Automatically exported from code.google.com/p/sagenb
0 stars 0 forks source link

interacts do not run initially with defaults #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Type the following code in a cell:

{{{
@interact
def f(a=(0,100)):
    print a
}}}

2. Evaluate the cell

What is the expected output? What do you see instead?

The slider should appear and the initial value of 0 should be printed out.  
Instead, just the slider appears.  It seems that the function is only run after 
the slider is adjusted.

What version of the product are you using? On what operating system?

Chrome on OSX

Original issue reported on code.google.com by grout.ja...@gmail.com on 6 Aug 2011 at 1:05

GoogleCodeExporter commented 8 years ago
this works now on sagenb.org now that the big changes were reverted.

Original comment by jason-go...@creativetrax.com on 16 Aug 2011 at 3:48

GoogleCodeExporter commented 8 years ago
This appeared after I merged Mitesh's public interacts patches that Mike 
rebased. The problem is still there on my repo.

Original comment by rki...@gmail.com on 16 Aug 2011 at 4:43

GoogleCodeExporter commented 8 years ago

Original comment by jason-go...@creativetrax.com on 17 Aug 2011 at 2:23

GoogleCodeExporter commented 8 years ago

Original comment by jason-go...@creativetrax.com on 6 Oct 2011 at 10:31

GoogleCodeExporter commented 8 years ago

Original comment by jason-go...@creativetrax.com on 6 Oct 2011 at 11:24

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Fixed in commit f708055f2e96 
(http://code.google.com/r/jasongrout-flask-sagenb/source/detail?r=f708055f2e96e3
b67b72497a0eaaf81c3bba50ac&url_prefix=r)

Original comment by jason-go...@creativetrax.com on 15 Oct 2011 at 1:34

GoogleCodeExporter commented 8 years ago

Original comment by jason-go...@creativetrax.com on 15 Oct 2011 at 1:35

GoogleCodeExporter commented 8 years ago
William reviewed the latest git notebook.

Original comment by jason-go...@creativetrax.com on 10 Jan 2012 at 4:14