Skip to content

Configuration to opt-in to using per-element obsTypes for spatialdata plots #34

@keller-mark

Description

@keller-mark

#31 adds support for checking the obs count as a heuristic to determine whether multiple spatial elements are describing the same entity.

However, an alternative to hard-coding "cell"/"spot" and erroring would be to allow the user to opt-in to using a layer/element-specific obsType name, to allow rendering more layers simultaneously.

ev.config.set({ 'per_element_entity_types': True })

Alternatively, we could add a mechanism to "register" globally the coordination values that correspond to each element of a spatialdata object.

E.g., ev.register_entity_types(sdata, "blobs_shapes", { "obsType": "blob", "featureType": "feature" }) which would override the obs/featureType logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions