Skip to content
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

Do not provide (wrong) mtext instances for pre-layouted text blocks (fixes #3000) #3017

Merged
merged 2 commits into from May 16, 2014

Conversation

pwuertz
Copy link
Contributor

@pwuertz pwuertz commented Apr 28, 2014

When a matplotlib text object contains multiple lines, matplotlib calculates the coordinates for the individual lines and calls draw_text() for each line, but doesn't create/provide a correct mtext instance for them. Omit the mtext instance in this case and make the backends handle draw_text() with no mtext instance correctly.

@tacaswell tacaswell added this to the v1.4.0 milestone Apr 28, 2014
@tacaswell
Copy link
Member

This probably needs a CHANGELOG entry.

@tacaswell
Copy link
Member

@pwuertz This needs a re-base.

@pwuertz
Copy link
Contributor Author

pwuertz commented May 16, 2014

Rebased due to collision in CHANGELOG.

tacaswell added a commit that referenced this pull request May 16, 2014
Do not provide (wrong) mtext instances for pre-layouted text blocks (fixes #3000)
@tacaswell tacaswell merged commit 96f87f9 into matplotlib:master May 16, 2014
@pwuertz pwuertz deleted the fix_3000 branch July 9, 2015 13:54
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.

None yet

2 participants