Re: [Matplotlib-users] Affine2D on scatter

2013-04-05 Thread John Gleeson
Phil and Derek, I just created this as the following issue https://github.com/matplotlib/matplotlib/issues/1886 I was wrong about TkAgg having a problem. The default backend for Derek and me is MacOSX. Both TkAgg and QT4Agg display correctly for me. John --

Re: [Matplotlib-users] Affine2D on scatter

2013-04-05 Thread Derek Thomas
Here's the output. I'm running OS X 10.8.3. I installed matplotlib from homebrew. $HOME=/Users/dect CONFIGDIR=/Users/dect/.matplotlib matplotlib data path /usr/local/lib/python2.7/site-packages/matplotlib/mpl-data loaded rc file /usr/local/lib/python2.7/site-packages/matplotlib/mpl-data/matplot

Re: [Matplotlib-users] Affine2D on scatter

2013-04-05 Thread Phil Elson
Thanks Derek & John. Very strange. Here's my setup: >>> import matplotlib >>> matplotlib.__version__ '1.2.0' >>> matplotlib.get_backend() 'TkAgg' Would you mind providing all of the relevant details suggested in http://matplotlib.org/faq/troubleshooting_faq.html#troubleshooting, along with the

Re: [Matplotlib-users] Affine2D on scatter

2013-04-04 Thread John Gleeson
On 2013-04-04, at 10:51 AM, Derek Thomas wrote: > ...screen capture of the display... > Derek, I just tried Phil's version of the code on my Mac (MP 1.2.0), and I see exactly the same problem as in your grab.tiff. This is using the default TkAgg backend. I happen to have built MP 1.2.0 wi

Re: [Matplotlib-users] Affine2D on scatter

2013-04-04 Thread Derek Thomas
I get a different result. On Thu, Apr 4, 2013 at 9:25 AM, Phil Elson wrote: > Hi Derek, > > What are we looking at here? > > The following code: > > import matplotlib.pyplot as plt > import matplotlib.transforms as mtrans > import numpy as np > > plt.figure() > ax = plt.subplot(111) > base_tran

Re: [Matplotlib-users] Affine2D on scatter

2013-04-04 Thread Phil Elson
Hi Derek, What are we looking at here? The following code: import matplotlib.pyplot as plt import matplotlib.transforms as mtrans import numpy as np plt.figure() ax = plt.subplot(111) base_trans = ax.transData mtx = np.array([[1,1,0], [0,1,0], [0,0,1]]) tr = mtra

[Matplotlib-users] Affine2D on scatter

2013-04-04 Thread Derek Thomas
I posted a related question on stackoverflow (http://stackoverflow.com/questions/15815862/apply-affine-transform-to-quiver-in-python-matplotlib) but I've produced a simple enough example with strange results that I think it merits attention here. I'm trying to apply affine transforms to quiver and