commit | b839b9053d2337b2d276457ce6fde3938762ce83 | [log] [tgz] |
---|---|---|
author | Javi Merino <javi.merino@arm.com> | Sat Jun 21 19:30:13 2014 +0100 |
committer | Javi Merino <javi.merino@arm.com> | Wed Aug 12 14:52:39 2015 +0100 |
tree | b310c3f5d78ebcad47b1894cc1490d9b6d2bfe16 | |
parent | d8344ef89d843a68e0a24ad9a80c9fd81ea12051 [diff] [blame] |
plot_utils: don't set the xlabel to Time by default Leave the index (now correctly "Time") as xlabel by default. Only set it if explicitly asked for.
diff --git a/cr2/plot_utils.py b/cr2/plot_utils.py index a9fa9da..46e1cc0 100644 --- a/cr2/plot_utils.py +++ b/cr2/plot_utils.py
@@ -81,9 +81,8 @@ """ - if xlabel is None: - xlabel = "Time" - plt.xlabel(xlabel) + if xlabel is not None: + plt.xlabel(xlabel) if title: plt.title(title)