diff options
Diffstat (limited to 'lava_dashboard_tool')
-rw-r--r-- | lava_dashboard_tool/commands.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lava_dashboard_tool/commands.py b/lava_dashboard_tool/commands.py index 5079519..a45fa30 100644 --- a/lava_dashboard_tool/commands.py +++ b/lava_dashboard_tool/commands.py @@ -217,14 +217,14 @@ class DataSetRenderer(object): underlined text before the data: >>> DataSetRenderer(caption="Dataset")._render_header( ... dataset, columns, maxlen) - Dataset + Dataset ================= a bee You can use both caption and header separator >>> DataSetRenderer(caption="Dataset", header_separator=True)._render_header( ... dataset, columns, maxlen) - Dataset + Dataset ================= a bee ----------------- @@ -234,7 +234,7 @@ class DataSetRenderer(object): aligned to the center of the column >>> DataSetRenderer(caption="Dataset", separator=" | ")._render_header( ... dataset, columns, maxlen) - Dataset + Dataset =================== a | bee """ @@ -272,8 +272,8 @@ class DataSetRenderer(object): you should check out the whitespace in the strings below. There are two more spaces after 'b' in the second row >>> DataSetRenderer()._render_rows(dataset, columns, maxlen) - shorter - little longer b + shorter + little longer b """ for row in dataset: print self.separator.join([ |