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
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
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)
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