environment/share/doc/ipython/examples/widgets/directview/widget.py
def interact(self):
        """This should call display(Javascript(jscode))."""
        jscode = self.render()
        display(Javascript(data=jscode,lib=self.jslibs))
def interact(self):
        """This should call display(Javascript(jscode))."""
        jscode = self.render()
        display(Javascript(data=jscode,lib=self.jslibs))
def interact ( self ) : jscode = self . render ( ) display ( Javascript ( data = jscode , lib = self . jslibs ) )
This should call display(Javascript(jscode)).
This should call display ( Javascript ( jscode )) .