Opened 16 years ago
Closed 16 years ago
#153 closed defect (fixed)
plotter.plot_lines failing
Reported by: | Malte Marquarding | Owned by: | Malte Marquarding |
---|---|---|---|
Priority: | high | Milestone: | ASAP 2.4 |
Component: | python | Version: | 2.0 |
Severity: | major | Keywords: | |
Cc: | M.Burton@… |
Description
plotter.plot_lines
is failing as follows.
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/asap/asaplotbase.pyc in vline_with_label(self, x, y, label, location, rotate, **kwargs) 776 if rotate > 0.0: lbloffset = 0.03*len(label) 777 peakoffset = 0.01 --> 778 xy0 = ax.transData.xy_tup((x,y)) 779 # get relative coords 780 xy = ax.transAxes.inverse_xy_tup(xy0) AttributeError: 'CompositeGenericTransform' object has no attribute 'xy_tup'
Attachments (1)
Change History (2)
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summary: | plotter.polt_lines failing → plotter.plot_lines failing |
Note:
See TracTickets
for help on using tickets.
matplotlib has changed their api in the latest release (0.98). They no longer support this function.
I have put a fix in, which will go into the next point release.
To fix this in the current version:
Download attachment:ticket:153:asaplotbase.py.patch
Go to the asap binary package source directory, patch and install again e.g.