Re: [Matplotlib-users] Matplotlib and Python 3

2008-12-05 Thread Armando Serrano Lombillo
The bottleneck for Python 3 adoption is going to be the availability of compatible third party libraries. I'm using numpy, scipy, matplotlib, wxpython, pywin32 and py2exe, so I'm not even going to download python 3 until all these projects have moved to it. Armando. On Fri, Dec 5, 2008 at 2:37

[Matplotlib-users] Toggling country boundaries in MPL Basemap

2008-12-05 Thread Mauro Cavalcanti
Dear ALL, Always engaged in pushing MPL/Basemap ahead of its limits, here am I again with a humble question: I want to be able to toggle the display of country boundaries on a map using a menu option on my wxPython interface. It is quite easy to initially plotting a map without borders and then

Re: [Matplotlib-users] Toggling country boundaries in MPL Basemap

2008-12-05 Thread Jeff Whitaker
Mauro Cavalcanti wrote: Dear ALL, Always engaged in pushing MPL/Basemap ahead of its limits, here am I again with a humble question: I want to be able to toggle the display of country boundaries on a map using a menu option on my wxPython interface. It is quite easy to initially plotting a

Re: [Matplotlib-users] Toggling country boundaries in MPL Basemap

2008-12-05 Thread Jeff Whitaker
Mauro Cavalcanti wrote: Dear Jeff, Thanks for your fast reply. Unfortunately, I have not been able to get yet working: I have a menu event like this: borders = [] if self.MapDrawBorderItem.IsChecked(): borders = self.map.drawcountries() else: self.ax.lines.remove(borders)

Re: [Matplotlib-users] Toggling country boundaries in MPL Basemap

2008-12-05 Thread Jeff Whitaker
Mauro Cavalcanti wrote: Dear Jeff, Sorry, I then got a TypeError: remove() takes exactly one argument (0 given)... :-( Best regards, Mauro: Don't know why that would be. Here's what I get % ipython --pylab In [3] from mpl_toolkits.basemap import Basemap In [4]: m = Basemap() In

[Matplotlib-users] General questions about Basemap

2008-12-05 Thread Mauro Cavalcanti
Dear ALL, I am using Basemap version 0.90 with MPL version 0.98.3 under Linux Ubuntu, both installed from Andrew Straw repository (I just prefer to install from repositories via apt than directly from the sources, although in this case I do not have always the latest versions). I stumbled upon a

Re: [Matplotlib-users] General questions about Basemap

2008-12-05 Thread Jeff Whitaker
Mauro Cavalcanti wrote: Dear ALL, I am using Basemap version 0.90 with MPL version 0.98.3 under Linux Ubuntu, both installed from Andrew Straw repository (I just prefer to install from repositories via apt than directly from the sources, although in this case I do not have always the latest