On Wed, Dec 8, 2010 at 2:41 PM, Christian Stump
<christian.st...@gmail.com> wrote:
> Salut,
>
> here is the code in the notebook:
>
> class Goo():
>   def interact(self):
>       @interact
>       def _(n=selector([0,1,2],nrows=1,default=0, label="label")):
>           return
>   interactive=interact
>
> if you run
>
> Goo().interact()
>
> in a new cell, and
>
> Goo().interactive()
>
> in another, you see the difference: the fonts differ (which is not too
> annoying), but in the second, the selector doesn't come in a nice way
> anymore. Should I open a ticket on that?

I published a worksheet on sagenb to illustrate the problem:

     http://sagenb.org/home/pub/2606/

It's pretty bizarre that the name of the method affects the behaviour.

--

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to