Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
ENH: EngFormatter new kwarg 'sep'#6542
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
Merged
tacaswell merged 25 commits intomatplotlib:masterfromafvincent:enh_engformatter_space_sep_new_optionAug 26, 2017
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
25 commits Select commitHold shift + click to select a range
5a550f2
ENH: Add the space_sep option to EngFormatter, and docstring updates
afvincent722f5d6
FIX: force format_eng(-0.0) to be consistent with format_eng(0)
afvincent3c221ff
Fix docstrings and comments (remove leading spaces)
afvincent122cfa2
Simplify and move cleaning strip op. from 'format_eng' to '__call__'
afvincent07f022d
DOC: update the api example engineering_formatter.py
afvincente371e5a
More extensive testing of EngFormatter (including 'space_sep' param)
afvincent3049a2d
space_sep=bool <- sep=string, and adapt tests
afvincente0a2ec8
remove unnecessary trailing 'u' characters in strings
afvincent1621a2d
fix EngFormatter docstring: escape Unicode character codes
afvincentc82dcff
'fix' docstring: unindent and reorder bullet list + mention regular t…
afvincentf09a1b4
Update the example
afvincentdc9409b
fix test docstring PEP8 errors in test_ticker.py
afvincent0195beb
Add a 'whats_new' entry
afvincent3ec1dbd
docstring overhaul: fix bullet list and merge duplicated infos betwee…
afvincentcd2ac88
use named entities instead of raw unicode codes
afvincent7f1422c
stop mixing C-style and format-based formatting
afvincentaba7a7f
Small example tweaking to avoid label cluttering
afvincentb75f20d
fix an issue with {:g} and str format
afvincent41a69da
get rid of decimal.Decimal + fix rounding special cases like 999.9...
afvincent556ec20
Fix the related rounding discrepancies in test_ticker
afvincenta9af431
(try) fix(ing) an exception about raising an int to a negative power
afvincent0bde03a
fix some anntzer's comments
afvincentc98ba91
more complete handling of corner-case roundings + add proper tests
afvincent60b95ab
Fix some additional remarks made by anntzer
afvincentac42b94
Deprecate passing a string as *num* argument
afvincentFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
remove unnecessary trailing 'u' characters in strings
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commite0a2ec87b59e432c638d87dc43a8d2bef2484c2c
There are no files selected for viewing
40 changes: 20 additions & 20 deletionslib/matplotlib/tests/test_ticker.py
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
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.