Re: [Matplotlib-users] selecting part of a contour to plot

2010-06-23 Thread Jonathan Slavin
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

[Matplotlib-users] basemap broken with matplotlib 0.99.3?

2010-06-23 Thread Bill Eaton
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