Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Choose offset text from ticks, not axes limits.#5780
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Choose offset text from ticks, not axes limits.#5780
Uh oh!
There was an error while loading.Please reload this page.
Conversation
tacaswell commentedJan 1, 2016
👍 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 ( |
anntzer commentedJan 1, 2016
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. |
tacaswell commentedJan 1, 2016
Fair enough |
…limitsChoose offset text from ticks, not axes limits.
…limitsChoose offset text from ticks, not axes limits.
tacaswell commentedJan 1, 2016
backported to 2.x asf52afbf |
The axis offset text is choosen as follows:xlims => offsettext123, 189 => 012341, 12349 => 1234099999.5, 100010.5 => 100000 # (also a test formatplotlib#5780)99990.5, 100000.5 => 1000001233999, 1234001 => 1234000(and the same for negative limits).Seematplotlib#5755.
The axis offset text is choosen as follows:xlims => offsettext123, 189 => 012341, 12349 => 1234099999.5, 100010.5 => 100000 # (also a test formatplotlib#5780)99990.5, 100000.5 => 1000001233999, 1234001 => 1234000(and the same for negative limits).Seematplotlib#5755.
The axis offset text is chosen as follows:xlims => offsettext123, 189 => 012341, 12349 => 1234099999.5, 100010.5 => 100000 # (also a test formatplotlib#5780)99990.5, 100000.5 => 1000001233999, 1234001 => 1234000(and the same for negative limits).Seematplotlib#5755.
The axis offset text is chosen as follows:xlims => offsettext123, 189 => 012341, 12349 => 1234099999.5, 100010.5 => 100000 # (also a test formatplotlib#5780)99990.5, 100000.5 => 1000001233999, 1234001 => 1234000(and the same for negative limits).Seematplotlib#5755.
The axis offset text is chosen as follows:xlims => offsettext123, 189 => 012341, 12349 => 1234099999.5, 100010.5 => 100000 # (also a test formatplotlib#5780)99990.5, 100000.5 => 1000001233999, 1234001 => 1234000(and the same for negative limits).Seematplotlib#5755.
The axis offset text is chosen as follows:xlims => offsettext123, 189 => 012341, 12349 => 1234099999.5, 100010.5 => 100000 # (also a test formatplotlib#5780)99990.5, 100000.5 => 1000001233999, 1234001 => 1234000(and the same for negative limits).Seematplotlib#5755.
The axis offset text is chosen as follows:xlims => offsettext123, 189 => 012341, 12349 => 1234099999.5, 100010.5 => 100000 # (also a test formatplotlib#5780)99990.5, 100000.5 => 1000001233999, 1234001 => 1234000(and the same for negative limits).Seematplotlib#5755.
Turns out the fix for#5738 was easier than expected.