From: Rich S. <rsh...@ap...> - 2008-03-25 18:43:56
|
I'm reading the users manual and looking at examples on the web site's gallery pages (integral seems relevant to me). Attached are two files, one has the data and testing application code, the other the plotting functions. Something has been left out. Here's the python traceback: Traceback (most recent call last): File "testData.py", line 58, in ? testCode() File "testData.py", line 37, in testCode testFunctions.linearDecrCurve(row[10],row[9]) File "/data1/eikos/testFunctions.py", line 186, in linearDecrCurve g.plot(x, y) File "/usr/lib/python2.4/site-packages/pyx/graph/graph.py", line 191, in plot plotitems.append(plotitem(self, d, styles)) File "/usr/lib/python2.4/site-packages/pyx/graph/graph.py", line 52, in __init__ self.title = data.title AttributeError: 'float' object has no attribute 'title' What have I done incorrectly, and what's the proper way to assign axes titles? Rich -- Richard B. Shepard, Ph.D. | Integrity Credibility Applied Ecosystem Services, Inc. | Innovation <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863 |