Skip to content

Refactor ImageWidget  #284

Description

@kushalkolar

Right now ImageWidget is kinda messy, it has a lot of if statements to say the least. I propose this to start off to simplify it. If someone needs something more complex they make their own widget.

  • get rid of axes order kwarg, only allow a specific order, xy, txy, tzxy. It's upon the user to transpose dims appropriately.
  • get rid of dim sliders kwarg
  • allow rgba, maybe with a kwarg, and check that the last dim has shape 3.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions