Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 328468c

Browse files
authored
Merge pull request #24719 from ksunden/ticker_docs
Remove quotes from EngFormatter.format_eng example
2 parents a4940a3 + 056fd64 commit 328468c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/ticker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1432,7 +1432,7 @@ def format_eng(self, num):
14321432
>>> format_eng(1000000) # for self.places = 1
14331433
'1.0 M'
14341434
1435-
>>> format_eng("-1e-6") # for self.places = 2
1435+
>>> format_eng(-1e-6) # for self.places = 2
14361436
'-1.00 \N{MICRO SIGN}'
14371437
"""
14381438
sign = 1

0 commit comments

Comments
 (0)