FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[ENH] Interactive Zoom Rectangle Color Review for MACOSX backend · Issue #23777 · matplotlib/matplotlib · GitHub

Repository navigation

[ENH] Interactive Zoom Rectangle Color Review for MACOSX backend #23777

Closed

Description

Interactive zoom rectangle is not visible on dark backgrounds for MACOSX backend.

Seems like this has been fixed when using QT backend (issue #16798), but can't find any solution / workaround for MACOSX backend.

Activity

  1. changed the title [-]Interactive Zoom Rectangle Color Review for MACOSX backend[/-] [+][ENH] Interactive Zoom Rectangle Color Review for MACOSX backend[/+] on Aug 30, 2022
  2. added this to the v3.7.0 milestone on Aug 30, 2022
  3. added
    🌱 Good first issueOpen a pull request against these issues if there are no active ones!
    Difficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issues
    on Aug 30, 2022
  4. tacaswell commented on Aug 30, 2022

    Member

    This is a good first issue because there is no API design and does not require any understanding of Matplotlib internals.

    Labeling this as medium difficulty because the implementation is likely to touch the objective C code and may require familiarity with both Python and objective C. This may require research into the underlying toolkit's API.

  5. QuLogic commented on Aug 30, 2022

    Member

    In the Qt backend, we draw the rectangle twice, once in black, once in white with an offset. The same can be done in the macos backend.

  6. oscargus commented on Aug 31, 2022

    Member

    Just to clarify, that offset is in the "dash-space"? (I first read it as x and y offset.) I guess one can possibly even use the new striped line functionality for this?

  7. anntzer commented on Aug 31, 2022

    Contributor

    In all likelihood it will be much faster to do this with calls to native (dashed) path-drawing functions.

  8. QuLogic commented on Aug 31, 2022

    Member

    Yes, in dash space. Both Qt and GTK draw them with native calls.

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

    Difficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGUI: MacOSX🌱 Good first issueOpen a pull request against these issues if there are no active ones!

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL