commit | ece0ab1969c59dd4b39344f1a26da1bd79c0db0a | [log] [tgz] |
---|---|---|
author | Javi Merino <javi.merino@arm.com> | Tue Aug 12 16:24:55 2014 +0100 |
committer | Javi Merino <javi.merino@arm.com> | Wed Aug 12 14:52:41 2015 +0100 |
tree | f9da14f1aa853fa6b97d6597dad9550156e735ca | |
parent | 63d7e7b04114990f4d551ee6673f1409e6b40388 [diff] [blame] |
plot_utils: use the axis' set_xlabel to set the xlabel
diff --git a/cr2/plot_utils.py b/cr2/plot_utils.py index a1a94de..fe47833 100644 --- a/cr2/plot_utils.py +++ b/cr2/plot_utils.py
@@ -88,7 +88,7 @@ """ if xlabel is not None: - plt.xlabel(xlabel) + ax.set_xlabel(xlabel) if title: ax.set_title(title)