Re: [Matplotlib-users] plotting labels for each 'artist' in a basemap

2008-11-21 Thread John Hunter
On Thu, Nov 13, 2008 at 10:38 PM, John [H2O] [EMAIL PROTECTED] wrote: Hello, using matplotlib 0.98 with mpl_toolkit Basemap: I'm trying to create a plot with a series of ellipses over a map. I've followed the tutorial, and can create the same figure as shown here:

Re: [Matplotlib-users] plotting labels for each 'artist' in a basemap

2008-11-21 Thread Eric Bruning
Can you post a complete, free-standing example script which replicates the problem import matplotlib.pyplot as plt f=plt.figure() ax=f.add_subplot(111) ax.plot(range(10)) ax.text(-10, 5, 'this one is ok') ax.text(-1202255993.82, 5, 'this one fails') plt.show() and also the output of the

Re: [Matplotlib-users] plotting labels for each 'artist' in a basemap

2008-11-21 Thread John Hunter
On Fri, Nov 21, 2008 at 10:37 AM, Eric Bruning [EMAIL PROTECTED] wrote: Can you post a complete, free-standing example script which replicates the problem import matplotlib.pyplot as plt f=plt.figure() ax=f.add_subplot(111) ax.plot(range(10)) ax.text(-10, 5, 'this one is ok')

Re: [Matplotlib-users] plotting labels for each 'artist' in a basemap

2008-11-21 Thread Eric Bruning
On Fri, Nov 21, 2008 at 12:24 PM, John Hunter [EMAIL PROTECTED] wrote: On Fri, Nov 21, 2008 at 10:37 AM, Eric Bruning [EMAIL PROTECTED] wrote: Can you post a complete, free-standing example script which replicates the problem import matplotlib.pyplot as plt f=plt.figure()

Re: [Matplotlib-users] plotting labels for each 'artist' in a basemap

2008-11-21 Thread John Hunter
On Fri, Nov 21, 2008 at 12:26 PM, Eric Bruning [EMAIL PROTECTED] wrote: My preference would be to see the error rather than mysteriously not see text. The latter would be more frustrating to debug - hard to track down. A scientific user should probably know that he's overextending the

Re: [Matplotlib-users] plotting labels for each 'artist' in a basemap

2008-11-20 Thread Eric Bruning
I just saw a similar error when trying to plot some text; in my case, basemap wasn't involved. The full error dump: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/text.py in draw(self, renderer) 486 -- 487 for line, wh, x, y in info: 488

[Matplotlib-users] plotting labels for each 'artist' in a basemap

2008-11-13 Thread John [H2O]
Hello, using matplotlib 0.98 with mpl_toolkit Basemap: I'm trying to create a plot with a series of ellipses over a map. I've followed the tutorial, and can create the same figure as shown here: http://matplotlib.sourceforge.net/users/screenshots.html#ellipses I can also create a series of