summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2017-04-01 22:48:33 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2017-04-01 22:48:33 +0800
commit2fd074cf4e1d3b993dc104a4422a080c25520f0e (patch)
tree3c7abb8fc050b5a7e50a3f1c9b07727fc91f88d7
parenta0afd7a2c52b2e101c68b03ef8f84cf49b4644b4 (diff)
small improvement about the blank space after disk charts
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r--draw.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/draw.py b/draw.py
index 32003b3..36492fa 100644
--- a/draw.py
+++ b/draw.py
@@ -323,6 +323,7 @@ def render(ctx, options, headers, cpu_stats, disk_stats, proc_tree, times):
curr_y = curr_y + 30 + bar_h
+ curr_y = curr_y - bar_h
# draw process boxes
draw_process_bar_chart(ctx, proc_tree, times, curr_y + bar_h, w, h)