Skip to content

Refactoring to an abstract interface and concrete implementations #93

@gpdf

Description

@gpdf

I see that Issue #73 talks about the possibility of a Ginga-free implementation of the ImageWidget API using Matplotlib. At the time the original API was discussed in 2018 (see, for instance, #10) I had understood that the concept was to define an abstract interface and then, potentially, multiple implementations.

Was this a misunderstanding, or was there a decision to go with a concrete Ginga-based implementation?

Of course, one can always use duck typing to define a family of widgets with compatible APIs, rather than relying on formal subclassing.

LSST has a motivation to do another implementation (based on the Firefly library and its Jupyter extension.

Would the team be open to a refactoring that realized a design with a more abstract interface?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions