Using the Jupyter widgetΒΆ

The Jupyter widget can be used as follows in the Jupyter notebook:

In [1]: from pywwt.jupyter import WWTJupyterWidget

In [2]: wwt = WWTJupyterWidget()
   ...: wwt

This will then look like:

_images/jupyter.jpg

Once the WorldWide Telescope widget is visible, you can start to interact with the wwt object in the next cell of the notebook. You can find out more about interacting with this object in Modifying visual settings and Showing annotations.

Note

If the widget appears with a vertical scrollbar, you can remove it and show the whole viewer at once by clicking on the left side of the cell that holds the widget.