[Matplotlib-users] create ListedColormap with different alpha values

2008-11-21 Thread Simon Kammerer
Hi all, I'd like to create a ListedColormap with different alpha values, like ... [ 1. , 1. , 1. , 0.65], [ 1. , 1. , 1. , 0.66], [ 1. , 1. , 1. , 0.67], [ 1. , 1. , 1. , 0.68], [ 1. , 1. , 1. , 0.69], [ 1. , 1. ,

Re: [Matplotlib-users] poly_between and time series data

2008-11-21 Thread John Hunter
On Thu, Nov 20, 2008 at 10:09 PM, Eric Firing [EMAIL PROTECTED] wrote: Shailesh Kochhar wrote: Hello, I am trying to fill the space below a curve where my x-axis is indexed by time. The matplotlib api documentation and the examples don't touch on this subject and I haven't had much luck

Re: [Matplotlib-users] Moving a patch with the mouse

2008-11-21 Thread John Hunter
On Fri, Nov 21, 2008 at 3:31 AM, Søren Nielsen [EMAIL PROTECTED] wrote: Is it possible to change say the centre point of a circle patch and do a redraw? (couldn't find a function in the documentation) or do I have to remove the old patch and plot a new one. I want to bind mouse movement to a

Re: [Matplotlib-users] create ListedColormap with different alpha values

2008-11-21 Thread John Hunter
On Fri, Nov 21, 2008 at 2:45 AM, Simon Kammerer [EMAIL PROTECTED] wrote: After looking at the source of matplotlib.colors, it seems to me that different alpha values are something Colormap is not designed for. Yes, it looks like the colormap only holds the RGB channels, but it also looks

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] Any news on wxMPL ?

2008-11-21 Thread Christopher Barker
massimo sandal wrote: I tried to wrote to Ken McIvor (wxmpl author) about this but received no answer. How long has it been -- he could be on vacation or something. - If wxmpl has been abandoned by its author, is there anyone interested (beyond myself) in continuing its development? Yes

Re: [Matplotlib-users] Any news on wxMPL ?

2008-11-21 Thread John Hunter
On Fri, Nov 21, 2008 at 11:38 AM, Christopher Barker [EMAIL PROTECTED] wrote: massimo sandal wrote: I tried to wrote to Ken McIvor (wxmpl author) about this but received no answer. How long has it been -- he could be on vacation or something. - If wxmpl has been abandoned by its author, is

Re: [Matplotlib-users] matplotlib egg finds wrong version of numpy

2008-11-21 Thread Jeff Mangum
Robert Kern-2 wrote: Jeff Mangum wrote: Hmmm. Got it from python.org (http://python.org/download/releases/2.5.2/) and just reinstalled to make sure. Indeed the binary is in /Library/Frameworks/Python.framework/Versions/Current/bin/python. I know that you have the python.org Python

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] poly_between and time series data

2008-11-21 Thread Shailesh Kochhar
John Hunter wrote: On Thu, Nov 20, 2008 at 10:09 PM, Eric Firing [EMAIL PROTECTED] wrote: Shailesh Kochhar wrote: Hello, I am trying to fill the space below a curve where my x-axis is indexed by time. The matplotlib api documentation and the examples don't touch on this subject and I

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

[Matplotlib-users] Additional changes required to use wxmpl-1.2.9 with matplotlib-0.98.3

2008-11-21 Thread Craig Finch
Many thanks to Paulo Meira for his modifications to wxmpl.py to make it compatible with matplotlib-0.98.3. However, I had to make one change to his file for it to work with my application. Also, I had to modify one line in matplotlib/backends/backend_wx.py. I'm not sure why I had to make

Re: [Matplotlib-users] A wxPython/Matplotlib/Basemap example

2008-11-21 Thread Stef Mientki
hello Mauro, On Fri, Nov 21, 2008 at 3:45 AM, Mauro Cavalcanti [EMAIL PROTECTED]wrote: Dear Stef, Thanks for the message. Your PyLab-Works looks really great (and I liked the interface). I'm glad you liked it, hope to release PyLab_Works this month. I could not progress much further than

Re: [Matplotlib-users] A wxPython/Matplotlib/Basemap example

2008-11-21 Thread Mauro Cavalcanti
Dear Stef, 2008/11/21 Stef Mientki [EMAIL PROTECTED]: maybe you could send an explicit resize event to the panel or to the splitter: self.Panel_Bottom.SendSizeEvent () Yes, it worked! I just was not aware of this SendEvent() in wxPython, it is handy. Now, I have to work out the correct

Re: [Matplotlib-users] Any news on wxMPL ?

2008-11-21 Thread Christopher Barker
John Hunter wrote: [EMAIL PROTECTED] wrote: Yes -- even if Ken does come back online, I'd like to see wxMPL hosted by the MPL project anyway -- it would be easier to find, and more likely to get tested and patched. Maybe as a toolkit? I'd be happy to host it in the mpl_toolkits dir if

Re: [Matplotlib-users] Any news on wxMPL ?

2008-11-21 Thread massimo sandal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christopher Barker ha scritto: John Hunter wrote: [EMAIL PROTECTED] wrote: Yes -- even if Ken does come back online, I'd like to see wxMPL hosted by the MPL project anyway -- it would be easier to find, and more likely to get tested and patched.