WWT’s Jupyter widget¶
While we recommend combining WWT with JupyterLab using the “research app”, pywwt also provides a traditional Jupyter widget that can be embedded directly in your Python notebooks.
You can create the WWT widget with the following code:
In : from pywwt.jupyter import WWTJupyterWidget In : wwt = WWTJupyterWidget() ...: wwt
This will then look like:
Once the AAS WorldWide Telescope widget is visible, you can start to interact
wwt object in the next cell of the notebook. You can find out more
about interacting with this object in Basic controls and Showing annotations.
See also the API documentation of the
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.