Skip to content

API for adding text labels #2

@mwcraig

Description

@mwcraig
Member

The current API draft does not include any mechanism for adding text labels to image views.

  • Should a mechanism for adding text be part of the API?

Activity

mwcraig

mwcraig commented on Jun 2, 2025

@mwcraig
MemberAuthor

IIRC, we decided the answer to this was "no" at STScI. I didn't see any notes in the API proposal about it though, other than a thread noting it is technically possible in the current backends.

The decision not to add this now was motivated in part by the can of worms that gets opened if text can be added: fonts, sizes, text justification, rotation, ....

@pllim @eteq @kecnry @bmorris3 -- am I remembering this correctly?

pllim

pllim commented on Jun 2, 2025

@pllim
Member

I think I propose deferring this to 2.0.

For future reference: The POC on Imviz was spacetelescope/jdaviz#2559 . So technically it is not hard to implement but Imviz never go around to exposing it via GUI.

mwcraig

mwcraig commented on Jun 14, 2025

@mwcraig
MemberAuthor

Maybe some day but not now...

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

    Type

    No type

    Projects

    Status

    Subissues

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @mwcraig@pllim

        Issue actions

          API for adding text labels · Issue #2 · astropy/astro-image-display-api