Skip to content

Add Text3D position getter/setter #18525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 23, 2020

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Sep 19, 2020

PR Summary

And simplify the calculations to avoid the duplicate position.

PR Checklist

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (run flake8 on changed files to check).
  • New features are documented, with examples if plot related.
  • [n/a] Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • Conforms to Matplotlib style conventions (install flake8-docstrings and pydocstyle<4 and run flake8 --docstring-convention=all).
  • New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • [n/a] API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).

@QuLogic QuLogic added this to the v3.4.0 milestone Sep 19, 2020
@QuLogic
Copy link
Member Author

QuLogic commented Sep 19, 2020

This could maybe do with a What's new entry, but I'd rather finish this sort of change on all the other artists and write one up then (i.e., roll it up into #18189.)

@QuLogic QuLogic force-pushed the text3d-simplification branch from 5cf501e to e16460f Compare September 22, 2020 02:16
Copy link
Contributor

@dopplershift dopplershift left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically, the change to get_dir_vector's return value is an API change. Do we need a notice for a function so minor?

This avoids saving a second copy of the whole position, and the
inconsistencies that might arise thereof.
@QuLogic QuLogic force-pushed the text3d-simplification branch from e16460f to 7034b70 Compare September 23, 2020 00:54
@dopplershift dopplershift merged commit 5b835ee into matplotlib:master Sep 23, 2020
@QuLogic QuLogic deleted the text3d-simplification branch September 23, 2020 02:03
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