Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Conversation

@anntzer
Copy link
Contributor

Turns out the fix for#5738 was easier than expected.

@tacaswelltacaswell added this to thenext major release (2.0) milestoneJan 1, 2016
@tacaswell
Copy link
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 (_set_offset is only called fromset_locs which passes in the range derived from a call toget_view_interval, nothing iswrong just could be neater and it is not clear to me that pulling on that stitch won't unravel way more than intended).

@anntzer
Copy link
ContributorAuthor

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
Copy link
Member

Fair enough

tacaswell added a commit that referenced this pull requestJan 1, 2016
…limitsChoose offset text from ticks, not axes limits.
@tacaswelltacaswell merged commit9c690ed intomatplotlib:masterJan 1, 2016
tacaswell added a commit that referenced this pull requestJan 1, 2016
…limitsChoose offset text from ticks, not axes limits.
@tacaswell
Copy link
Member

backported to 2.x asf52afbf

@anntzeranntzer deleted the offsettext-uses-ticks-not-axes-limits branchJanuary 1, 2016 23:14
anntzer added a commit to anntzer/matplotlib that referenced this pull requestJan 2, 2016
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.
anntzer added a commit to anntzer/matplotlib that referenced this pull requestJan 2, 2016
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.
anntzer added a commit to anntzer/matplotlib that referenced this pull requestJan 2, 2016
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.
anntzer added a commit to anntzer/matplotlib that referenced this pull requestJan 7, 2016
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.
anntzer added a commit to anntzer/matplotlib that referenced this pull requestJan 27, 2016
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.
anntzer added a commit to anntzer/matplotlib that referenced this pull requestFeb 18, 2016
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.
anntzer added a commit to anntzer/matplotlib that referenced this pull requestMay 2, 2016
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.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

v2.0.0

Development

Successfully merging this pull request may close these issues.

2 participants

@anntzer@tacaswell

[8]ページ先頭

©2009-2025 Movatter.jp