From 38739278ab06b69bf4668515ec765d1774adfb9c Mon Sep 17 00:00:00 2001 From: Artem Titov Date: Fri, 13 Sep 2019 13:35:32 +0200 Subject: [PATCH] Fix time units in plotted charts Bug: webrtc:10138 Change-Id: I057caa8fadb41ff09733b2bf435cee2a1f2c70c7 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/152822 Reviewed-by: Mirko Bonadei Commit-Queue: Artem Titov Cr-Commit-Position: refs/heads/master@{#29183} --- rtc_tools/metrics_plotter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtc_tools/metrics_plotter.py b/rtc_tools/metrics_plotter.py index d045763b51..54ccee9c01 100644 --- a/rtc_tools/metrics_plotter.py +++ b/rtc_tools/metrics_plotter.py @@ -62,7 +62,7 @@ def main(): y_values.append(sample['value']) plt.ylabel('%s (%s)' % (metric[GRAPH_NAME], metric[UNITS])) - plt.xlabel('time (ms)') + plt.xlabel('time (s)') plt.title(metric[GRAPH_NAME]) plt.plot(x_values, y_values)