"""A Jupyter Notebook interface to Klampt.

Examples:
    Basic usage::

        from klampt import *
        from klampt.vis.ipython import KlamptWidget
        from IPython.display import display

        world = WorldModel()
        ... #set up the world...
        kvis = KlamptWidget(world,width=800,height=640)
        display(kvis)   # This pops up a window in Jupyter

    Immedate changes can be made using the methods in KlamptWidget::

        kvis.addText(name="text_id",text="hello",position=(10,10))
        kvis.addSphere(x=0,y=1.5,z=0,r=0.4)

    Change the configuration of things in the world, and then call update() to see the changes::

        robot = world.robot(0)
        q = robot.getConfig()