Re: [Matplotlib-users] matplotlib multiple windows comparison

2013-03-12 Thread Phil Elson
Hi Sudheer, Try the interactive mode ( http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.ion): import matplotlib.pyplot as plt plt.ion() plt.plot(range(10)) [matplotlib.lines.Line2D object at 0x1c565d0] **a figure pops up here and hands you back the python command line**

Re: [Matplotlib-users] basemap and imshow at high latitudes

2013-03-12 Thread Phil Elson
Hi Mike, Do you have any code or an image to show the problem? Cheers, On 11 March 2013 20:44, Hearne, Mike mhea...@usgs.gov wrote: I have an issue with basemap.imshow() at higher latitudes - namely the image (high-res topography, in this case) becomes distorted with respect to the

Re: [Matplotlib-users] Plotting with WxAgg backend hangs

2013-03-12 Thread Phil Elson
I don't know of any reason why one shouldn't be able to use the wxAgg backend interactively. This looks like a bug to me. Would you mind adding this as an issue on the github issue tracker? Thanks, On 11 March 2013 19:06, Brendan Barnwell brenb...@brenbarn.net wrote: I'm 64-bit

Re: [Matplotlib-users] matplotlib multiple windows comparison

2013-03-12 Thread Sudheer Joseph
Thank you Phil,                              But I had tried it earlier after seeing a another mail thread. I get command prompt but no figure pops up. In [3]: import matplotlib.pyplot as plt In [4]: plt.ion() In [5]: plt.plot(range(10)) Out[5]: [matplotlib.lines.Line2D at 0x410f250] In [6]: 

Re: [Matplotlib-users] MPL 1.2.0 crash with py2exe on Athlon PC

2013-03-12 Thread Werner F. Bruhin
Hi, Did some more testing with the http://matplotlib.org/examples/user_interfaces/embedding_in_wx5.html; example and see the same problem/crash. Attached the slightly adapted version of the script (using wxPython 2.9 and wx.App instead of wx.SimpleApp which is deprecated in 2.9) and the

Re: [Matplotlib-users] matplotlib multiple windows comparison

2013-03-12 Thread Phil Elson
I hadn't spotted you were using the WxAgg backend too - this looks like the same bug that Brendan reported yesterday. The *easiest* solution would be to use another back-end until this is fixed. Do you have 'TkAgg' available? I currently do not have a wx installation to hand to try out any

Re: [Matplotlib-users] matplotlib multiple windows comparison

2013-03-12 Thread Sudheer Joseph
Thank You Phil,                                   It did it correctly. TkAgg is good with interactive plotting. with best regards, Sudheer From:Phil Elson pelson@gmail.com To: Sudheer Joseph sudheer.jos...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net

[Matplotlib-users] github - basemap and contributing...

2013-03-12 Thread Thomas Lecocq
Dear all, I've successfully forked matplotlib.basemap to ThomasLecocq.basemap and cloned ThomasLecocq.basemap to my machine. Now, how can I have this clone be THE mpl_toolkits.basemap package, so I can make edits in the __init__.py (that contains the Basemap class) and preview them live on

[Matplotlib-users] removing paths inside polygon

2013-03-12 Thread Andrew Dawson
Hi I'd like to be able to clip a line so that the portion of it lying outside of a given polygon remains visible and the part that lies inside of the polygon is not visible. What I want is basically the opposite of: line.set_clip_path(polygon) which leaves only the part of the line inside

Re: [Matplotlib-users] github - basemap and contributing...

2013-03-12 Thread Benjamin Root
On Tue, Mar 12, 2013 at 12:12 PM, Thomas Lecocq thlec...@msn.com wrote: Dear all, I've successfully forked matplotlib.basemap to ThomasLecocq.basemap and cloned ThomasLecocq.basemap to my machine. Now, how can I have this clone be THE mpl_toolkits.basemap package, so I can make edits in the

[Matplotlib-users] Feedback on an implementation of a matlab-ish datacursor

2013-03-12 Thread Joe Kington
I recently got around to polishing up a snippet I've been using for quite awhile. https://github.com/joferkington/mpldatacursor/ and I was hoping to get some feeding on the current implementation. mpldatacursor allows a user to easily click on an artist and display a customizable, interactive