From: "Andrea Arteaga" <andyspiros@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/auto-numerical-bench:master commit in: numbench/
Date: Mon, 17 Sep 2012 08:08:00 +0000 (UTC) [thread overview]
Message-ID: <1346708230.a56f09edb1f63eef3eee28179be94fdfcdf6e523.spiros@gentoo> (raw)
commit: a56f09edb1f63eef3eee28179be94fdfcdf6e523
Author: Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
AuthorDate: Mon Sep 3 21:37:10 2012 +0000
Commit: Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
CommitDate: Mon Sep 3 21:37:10 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/auto-numerical-bench.git;a=commit;h=a56f09ed
Correct axis.
---
numbench/report.py | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/numbench/report.py b/numbench/report.py
index 29bcd99..d5b3dad 100644
--- a/numbench/report.py
+++ b/numbench/report.py
@@ -42,7 +42,7 @@ class Plotter:
self.curstyle = 0
# Open figure
- self.figure = plt.figure(figsize=(12, 9), dpi=300)
+ plt.figure(figsize=(12, 9), dpi=300)
def addPlot(self, X, label):
@@ -55,7 +55,7 @@ class Plotter:
plt.errorbar(x, y, e, fmt=style, label=label, hold=True)
def savePlot(self, fname):
- axes = self.figure.get_axes()
+ axes = plt.axes()
axes.set_xscale(self.conf.get('xscale', 'linear'))
axes.set_yscale(self.conf.get('yscale', 'linear'))
plt.legend(loc='best', prop={'size':'x-small'})
@@ -91,6 +91,9 @@ def saveReport():
p = Plotter(cfg.module.reportConf())
for tid, test in cfg.tests.items():
+
+ print "RESULTS: ", test['results']
+
longlabel = len(test.get('implementations')) > 1
for impl in test.get('implementations', []):
next reply other threads:[~2012-09-17 8:08 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-17 8:08 Andrea Arteaga [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-09-27 11:19 [gentoo-commits] proj/auto-numerical-bench:master commit in: numbench/ Andrea Arteaga
2012-09-17 8:08 Andrea Arteaga
2012-09-17 8:08 Andrea Arteaga
2012-09-02 11:41 Andrea Arteaga
2012-08-07 22:58 Andrea Arteaga
2012-08-04 20:24 Andrea Arteaga
2012-04-09 19:25 Andrea Arteaga
2012-02-28 19:20 Andrea Arteaga
2012-02-27 15:05 Andrea Arteaga
2011-12-27 0:13 Andrea Arteaga
2011-08-22 18:02 Andrea Arteaga
2011-08-19 23:19 Andrea Arteaga
2011-08-19 23:11 Andrea Arteaga
2011-08-18 19:47 Andrea Arteaga
2011-08-17 18:00 Andrea Arteaga
2011-08-17 16:21 Andrea Arteaga
2011-08-17 15:00 Andrea Arteaga
2011-08-17 14:38 Andrea Arteaga
2011-08-17 14:38 Andrea Arteaga
2011-08-17 0:00 Andrea Arteaga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1346708230.a56f09edb1f63eef3eee28179be94fdfcdf6e523.spiros@gentoo \
--to=andyspiros@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox