Skip to content

Viewer registry #121

Description

@astrofrog

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions