[Matplotlib-users] transData.transform on 'log' plot

2010-01-21 Thread Cédrick FAURY
Hello, When I try to use transData.transform on a log plot, an error occurs : ... File E:\Python26\lib\site-packages\matplotlib\transforms.py, line 1895, in transform self._a.transform(points)) File E:\Python26\lib\site-packages\matplotlib\transforms.py, line 1723, in transform

Re: [Matplotlib-users] transData.transform on 'log' plot

2010-01-21 Thread Michael Droettboom
The `transform` method requires that its argument is a numpy array. You got lucky with duck typing in the non-log case, but there is an assumption in the transformation code that it can use Numpy array functionality on whatever is passed in. Unfortunately, the transforms code is so low-level