summaryrefslogtreecommitdiff
path: root/gr-wxgui/python/wxgui/plotter/common.py
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-07-07 12:18:00 -0400
committerTom Rondeau <tom@trondeau.com>2014-07-07 12:18:00 -0400
commit597b93798a804cde1783d6d2ab53b348d57c44cd (patch)
treeb65e73bb0de634ff5d209b15971ebdabf369a45c /gr-wxgui/python/wxgui/plotter/common.py
parent1151e5502ccd440ebd89599cf7e4be4fb5ed8334 (diff)
Removing trailing/extra whitespaces before release.
We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
Diffstat (limited to 'gr-wxgui/python/wxgui/plotter/common.py')
-rw-r--r--gr-wxgui/python/wxgui/plotter/common.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-wxgui/python/wxgui/plotter/common.py b/gr-wxgui/python/wxgui/plotter/common.py
index 9af636245d..c296b1fa79 100644
--- a/gr-wxgui/python/wxgui/plotter/common.py
+++ b/gr-wxgui/python/wxgui/plotter/common.py
@@ -73,7 +73,7 @@ def get_si_components(num):
def sci_format(num):
"""
Format a floating point number into scientific notation.
-
+
Args:
num: the number to format
@@ -87,11 +87,11 @@ def sci_format(num):
def eng_format(num, units=''):
"""
Format a floating point number into engineering notation.
-
+
Args:
num: the number to format
units: the units to append
-
+
Returns:
a label string
"""