🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@greglucas
Copy link
Contributor

PR Summary

Tk and Gtk reported "super" when "command" was pressed, while qt and macosx reported "cmd". Make all backends consistent by reporting "cmd" in all of them.

@co-authored-by: Antony Lee anntzer.lee@gmail.com

follow-up to: #23473
Note the extra change to cbook, which accounts for the single key command press, where it isn't a modifier.

PR Checklist

Documentation and Tests

  • [-] Has pytest style unit tests (and pytest passes)
  • [-] Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • [-] New plotting related features are documented with examples.

Release Notes

  • [-] New features are marked with a .. versionadded:: directive in the docstring and documented in doc/users/next_whats_new/
  • [?] API changes are marked with a .. versionchanged:: directive in the docstring and documented in doc/api/next_api_changes/
  • [-] Release notes conform with instructions in next_whats_new/README.rst or next_api_changes/README.rst

Tk and Gtk reported "super" when "command" was pressed, while qt and
macosx reported "cmd". Make all backends consistent by reporting
"cmd" in all of them.

@co-authored-by: Antony Lee <anntzer.lee@gmail.com>
@anntzer anntzer added this to the v3.8.0 milestone Feb 5, 2023
@anntzer anntzer merged commit 7100e9e into matplotlib:main Feb 5, 2023
@greglucas greglucas deleted the modifier-tk branch February 5, 2023 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants