Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewer registry #121

Open
astrofrog opened this issue Aug 17, 2023 · 0 comments
Open

Viewer registry #121

astrofrog opened this issue Aug 17, 2023 · 0 comments

Comments

@astrofrog
Copy link

The glue-jupyter package includes a registry of available viewers - however this isn't currently properly populated so not quite ready for use. But it is just a heads-up that in the near future you should be able to use:

In [2]: from glue_jupyter.registries import viewer_registry

In [3]: viewer_registry.members
Out[3]: {'scatter': {'cls': glue_jupyter.bqplot.scatter.viewer.BqplotScatterView}, ...}

to find out what viewers are available, including viewers defined in other plugin packages (e.g. glue-wwt), so it will be possible to use this without hard-coding the list of viewers. I will update this issue once the registry is usable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant