Skip to content

Preserve axis labels within napari layers #253

Open
@gselzer

Description

@gselzer

Splitting this issue out from #252

PyImageJ converts ImageJ ecosystem image data structures into xarray.DataArray objects, which have named axis. There is no Layer metadata for named axes in napari, as far as I can tell, although I've seen the desire for the feature in issues like napari/napari#2917. The closest thing I know of is the Viewer.axis_labels property on the Viewer, but we'd have to massage the data to use that to map our image data.

For now, I store the axis within Layer.properties, however a better solution would store them somewhere they can be used in napari.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedWaiting for an upstream changebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions