FIX: bbox_inches='tight' with only non-finite bounding boxes#13426
Merged
Conversation
timhoffm
approved these changes
Feb 13, 2019
jklymak
approved these changes
Feb 14, 2019
jklymak
left a comment
Member
There was a problem hiding this comment.
I thought I fixed this already,... must have been somewhere else....
6 tasks
anntzer
requested changes
Feb 14, 2019
| fig, ax = plt.subplots() | ||
| ax.annotate("", xy=(0, float('nan'))) | ||
| ax.set_axis_off() | ||
| fig.savefig("bar.png", bbox_inches='tight') |
Contributor
There was a problem hiding this comment.
Please save to a BytesIO to avoid polluting the source tree.
1a4b6ee to
0302451
Compare
Member
Author
|
@anntzer done an force-pushed. |
anntzer
approved these changes
Feb 18, 2019
Contributor
|
can be merged post-ci |
Member
Author
|
Self-merging on 3 approvals and CI passing. |
meeseeksmachine
pushed a commit
to meeseeksmachine/matplotlib
that referenced
this pull request
Feb 18, 2019
…finite bounding boxes
dstansby
added a commit
that referenced
this pull request
Feb 18, 2019
…426-on-v3.0.x Backport PR #13426 on branch v3.0.x (FIX: bbox_inches='tight' with only non-finite bounding boxes)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #13276
PR Summary
PR Checklist