commit | 1b74ef16b8da1476769fb4bc4dc32b8717b32bd9 | [log] [tgz] |
---|---|---|
author | Javi Merino <javi.merino@arm.com> | Wed Apr 02 11:27:01 2014 +0100 |
committer | Javi Merino <javi.merino@arm.com> | Wed Apr 02 16:24:54 2014 +0100 |
tree | af642f824be7ac0189f9ad2ba1f8786589fbb0ff | |
parent | 7686f36bf2f65c041f70789fa632afdf8b339e54 [diff] [blame] |
thermal: document __default_plot_settings()
diff --git a/cr2/thermal.py b/cr2/thermal.py index 71c940f..9145c49 100644 --- a/cr2/thermal.py +++ b/cr2/thermal.py
@@ -113,6 +113,11 @@ plt.figure(figsize=(width, height)) def __default_plot_settings(self, title=""): + """Set xlabel and title of the plot + + This has to be called after the plot() command + """ + plt.xlabel("Time") if title: plt.title(title)