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)

asaplotbase.py.patch (956 bytes ) - added by Malte Marquarding 16 years ago.
plotter patch fro asap2.3.0

Download all attachments as: .zip

Change History (2)

comment:1 by Malte Marquarding, 16 years ago

Resolution: fixed
Status: newclosed
Summary: plotter.polt_lines failingplotter.plot_lines failing

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.

cd asap-2.3.0-osx-10.5-x86/asap
patch -p0 < ../../asaplotbase.py.patch
cd ..
./install

by Malte Marquarding, 16 years ago

Attachment: asaplotbase.py.patch added

plotter patch fro asap2.3.0

Note: See TracTickets for help on using tickets.