Choose offset text from ticks, not axes limits.#5780
Merged
tacaswell merged 1 commit intomatplotlib:masterfrom Jan 1, 2016
Merged
Choose offset text from ticks, not axes limits.#5780tacaswell merged 1 commit intomatplotlib:masterfrom
tacaswell merged 1 commit intomatplotlib:masterfrom
Conversation
Member
|
👍 This should get a png only image test (the example from #5738 is perfect). It looks like there is some low-hanging re-factoring possible here ( |
Contributor
Author
|
I'm sort of hoping to just get this merged as-is and get a better test suite (not image based) / refactoring when working on #5755. |
Member
|
Fair enough |
tacaswell
added a commit
that referenced
this pull request
Jan 1, 2016
…limits Choose offset text from ticks, not axes limits.
tacaswell
added a commit
that referenced
this pull request
Jan 1, 2016
…limits Choose offset text from ticks, not axes limits.
Member
|
backported to 2.x as f52afbf |
anntzer
added a commit
to anntzer/matplotlib
that referenced
this pull request
Jan 2, 2016
The axis offset text is choosen as follows: xlims => offsettext 123, 189 => 0 12341, 12349 => 12340 99999.5, 100010.5 => 100000 # (also a test for matplotlib#5780) 99990.5, 100000.5 => 100000 1233999, 1234001 => 1234000 (and the same for negative limits). See matplotlib#5755.
anntzer
added a commit
to anntzer/matplotlib
that referenced
this pull request
Jan 2, 2016
The axis offset text is choosen as follows: xlims => offsettext 123, 189 => 0 12341, 12349 => 12340 99999.5, 100010.5 => 100000 # (also a test for matplotlib#5780) 99990.5, 100000.5 => 100000 1233999, 1234001 => 1234000 (and the same for negative limits). See matplotlib#5755.
anntzer
added a commit
to anntzer/matplotlib
that referenced
this pull request
Jan 2, 2016
The axis offset text is chosen as follows: xlims => offsettext 123, 189 => 0 12341, 12349 => 12340 99999.5, 100010.5 => 100000 # (also a test for matplotlib#5780) 99990.5, 100000.5 => 100000 1233999, 1234001 => 1234000 (and the same for negative limits). See matplotlib#5755.
anntzer
added a commit
to anntzer/matplotlib
that referenced
this pull request
Jan 7, 2016
The axis offset text is chosen as follows: xlims => offsettext 123, 189 => 0 12341, 12349 => 12340 99999.5, 100010.5 => 100000 # (also a test for matplotlib#5780) 99990.5, 100000.5 => 100000 1233999, 1234001 => 1234000 (and the same for negative limits). See matplotlib#5755.
anntzer
added a commit
to anntzer/matplotlib
that referenced
this pull request
Jan 27, 2016
The axis offset text is chosen as follows: xlims => offsettext 123, 189 => 0 12341, 12349 => 12340 99999.5, 100010.5 => 100000 # (also a test for matplotlib#5780) 99990.5, 100000.5 => 100000 1233999, 1234001 => 1234000 (and the same for negative limits). See matplotlib#5755.
anntzer
added a commit
to anntzer/matplotlib
that referenced
this pull request
Feb 18, 2016
The axis offset text is chosen as follows: xlims => offsettext 123, 189 => 0 12341, 12349 => 12340 99999.5, 100010.5 => 100000 # (also a test for matplotlib#5780) 99990.5, 100000.5 => 100000 1233999, 1234001 => 1234000 (and the same for negative limits). See matplotlib#5755.
anntzer
added a commit
to anntzer/matplotlib
that referenced
this pull request
May 2, 2016
The axis offset text is chosen as follows: xlims => offsettext 123, 189 => 0 12341, 12349 => 12340 99999.5, 100010.5 => 100000 # (also a test for matplotlib#5780) 99990.5, 100000.5 => 100000 1233999, 1234001 => 1234000 (and the same for negative limits). See matplotlib#5755.
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.
Turns out the fix for #5738 was easier than expected.