Skip to content

Text Rotation Relative To Line is broken #17571

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

Closed
Mark-BC opened this issue Jun 4, 2020 · 1 comment
Closed

Text Rotation Relative To Line is broken #17571

Mark-BC opened this issue Jun 4, 2020 · 1 comment

Comments

@Mark-BC
Copy link

Mark-BC commented Jun 4, 2020

Bug report

Bug summary

The example code to demonstrate how to rotate text is broken as of version 3.2.0. Either a bug has been introduced into matplotlib or the API has changed and the demo code is obsolete.

Code for reproduction

Please compare the result of the following two identical pages of code:

https://matplotlib.org/3.1.3/gallery/text_labels_and_annotations/text_rotation_relative_to_line.html

https://matplotlib.org/3.2.0/gallery/text_labels_and_annotations/text_rotation_relative_to_line.html

The pages are identical, but the code has different results.

Actual outcome

The improperly rotated text, in the second link above and in the latest version matplotlib v3.2.1

Expected outcome

The matplotlib v3.1.3 link above shows the expected, correct output.

Matplotlib version

  • Operating system: N/A
  • Matplotlib version: 3.2.0 and newer
  • Matplotlib backend (print(matplotlib.get_backend())): N/A
  • Python version: N/A
  • Jupyter version (if applicable): N/A
  • Other libraries: N/A
@anntzer
Copy link
Contributor

anntzer commented Jun 4, 2020

This is already tracked at #17005. Thanks for the report.

@anntzer anntzer closed this as completed Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants