|
From: SourceForge.net <no...@so...> - 2006-05-21 19:07:25
|
Bugs item #1492588, was opened at 2006-05-21 19:07 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442886&aid=1492588&group_id=45430 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dominic Ford (dcf21) Assigned to: Nobody/Anonymous (nobody) Summary: graph.pos method seems broken Initial Comment: The attached code snippet works fine with PyX 0.7.1, but fails with PyX 0.8.1: ------ Traceback (most recent call last): File "pyx_pos.py", line 19, in ? x,y = g.pos(x=0,y=0) File "/usr/local/lib/python2.4/site-packages/pyx/graph/graph.py", line 169, in pos return self.xpos + xaxis.convert(x)*self.width, self.ypos + yaxis.convert(y)*self.height File "/usr/local/lib/python2.4/site-packages/pyx/graph/axis/axis.py", line 472, in convert assert self.canvas is not None, self.errorname AssertionError: x ------ I believe the cause of this is that the syntax of the method "convert" has changed in the file graph/axis/axis.py, but the pos method in the file graph/graph.py has not been updated to reflect this change. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442886&aid=1492588&group_id=45430 |