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:
In a JupyterLab environment (most recommended), use
pywwt.jupyter.connect_to_app
In a plain Jupyter notebook, create an instance of
pywwt.jupyter.WWTJupyterWidget
In a Qt desktop application, create an instance of
pywwt.qt.WWTQtClient
To control an instance of the WWT Windows application, use the unmaintained
pywwt.windows
module.
Functions¶
|
A support function used to integrate pywwt with Jupyter. |
Classes¶
|
Base class for annotations which provides settings common to all shapes. |
|
A class that can control a WWT viewer from Python. |
|
A circular annotation. |
Raised if data need to be published, but publishing service isn't available. |
|
|
A collection of polygon annotations. |
|
A line annotation. |
|
A polygon annotation. |
|
Raised if an operation needs to communicate with the WWT viewer (app), but the app doesn't seem to be responding to messages. |