I stumbled across a basemap demo a couple of days ago and was immediately
enchanted.
I can't get it to install nicely on a Windoze box with matplotlib 0.99.3.
When I try the famous
from mpl_toolkits.basemap import Basemap
directive, I get
In [1]: from mpl_toolkits.basemap import Basemap
-
Thanks to Benjamin Root and Jae-Joon Lee for their responses.
The solution that I had come up with in the mean time is similar to
Jae-Joon's suggestion. I did:
c = contour(z,level,colors='k')
xy = c.collections[0].get_paths()[0].vertices # produces (N,2) array of points
plot(xy[:,0],xy[:,1],'w'
Hi,
I'm trying to run a demo example,
http://matplotlib.sourceforge.net/plot_directive/mpl_toolkits/axes_grid/figures/demo_axes_grid.py
ran into this problem saying pygtk was needed:
$ curl
http://matplotlib.sourceforge.net/plot_directive/mpl_toolkits/axes_grid/figures/demo_axes_grid.py>
demo_a