Dear ALL,

Am I intending to change the world's geography? No, not quite. I just
would like to know how to deal with the following problem, I have
stumbled upon in MPL/Basemap: I have a line:

continents = map.fillcontinents(color='coral, lake_color='blue')

where map is, of course, a Basemap instance

According to the Basemap documentation, the Basemap.fillcontinents()
method returns a matplotlib.patches.Polygon object.

Later on, I do the following, in an attempt to erase this object:

del continents

But nothing happens.

If I try instead continents.remove(), I got an error message:
TypeError: remove() takes exactly one argument (0 given) what is not
suprising as the objet returned by fillcontinents() is not a list.

Any hints?

Thanks in advance!

With best wishes,

-- 
Dr. Mauro J. Cavalcanti
Ecoinformatics Studio
P.O. Box 46521, CEP 20551-970
Rio de Janeiro, RJ, BRASIL
E-mail: mauro...@gmail.com
Web: http://studio.infobio.net
Linux Registered User #473524 * Ubuntu User #22717
"Life is complex. It consists of real and imaginary parts."

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to