pywwt Package

The toplevel pywwt package contains only a few miscellaneous types.

Almost all usage of pywwt goes through a variable, conventionally named wwt, that refers to a subclass of the BaseWWTWidget class exported by this module. The way that you obtain this variable depends on the context in which you’re running your Python code:

Functions

load_jupyter_server_extension(nb_server_app)

A support function used to integrate pywwt with Jupyter.

Classes

Annotation(**kwargs)

Base class for annotations which provides settings common to all shapes.

BaseWWTWidget(**kwargs)

A class that can control a WWT viewer from Python.

Circle(**kwargs)

A circular annotation.

DataPublishingNotAvailableError([msg])

Raised if data need to be published, but publishing service isn't available.

FieldOfView(parent, telescope, center, rot, ...)

A collection of polygon annotations.

Line(**kwargs)

A line annotation.

Polygon(**kwargs)

A polygon annotation.

ViewerNotAvailableError([msg])

Raised if an operation needs to communicate with the WWT viewer (app), but the app doesn't seem to be responding to messages.