Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Patch for issue #6009 #6014
Conversation
mdboom
added the
needs_review
label
Feb 17, 2016
|
Should add a unit test to exercise this. Preferably not an image test (we have plenty of those), but one that tests the strings coming out of EngFormatter. |
tacaswell
added this to the
2.1 (next point release)
milestone
Feb 18, 2016
tacaswell
commented on an outdated diff
Feb 18, 2016
|
Left minor comment, but other wise |
|
I don't understand why my last commit broke the Travis CI build test: it seems to me that the changes are really minor, aren't they? Furthermore, when looking at the failure logs in “Details” section of Travis, one can find errors like |
|
Travis is broken because the merge of another pr broke master is is not caused by your pr |
|
Ok, thank you for the explanation :). |
afvincent
referenced
this pull request
Jun 4, 2016
Open
[ENH?] EngFormatter: add the possibility to remove the space before the SI prefix #6533
|
Can you rebase so we can merge it? |
|
I think I've done a mistake on this branch with my git local repo (what a change…). I used the same branch to implement the enhancement I presented in #6533 (which also fix this issue btw). Should I go back in time with git and then rebase, or do something else? I guess opening a new PR (on a branch from an up-to-date master) which fixes this small issue and also implements the |
afvincent
added some commits
Feb 17, 2016
|
I rebased after deleting my last commit (the one with the enhancement #6533). Hopefully it will be OK. |
tacaswell
merged commit 0ac187d
into matplotlib:master
Jun 6, 2016
tacaswell
removed the
needs_review
label
Jun 6, 2016
tacaswell
added a commit
that referenced
this pull request
Jun 6, 2016
|
|
tacaswell |
59e0ab9
|
|
backported to v2.x as 59e0ab9 |
afvincent commentedFeb 17, 2016
Here is a patch for issue #6009 about the EngFormatter in matplotlib.ticker.
It simply enforces a space when there is no SI prefix but yet a unit symbol. For example “10 seconds” should be formatted as “10 s” by the EngFormatter (previously “10s”).