Zane Selvans wrote:
> Yep, looks like the trunk has fixed the contourf() issue.
> 
> Unfortunately there also seems to be some new incompatibility with the
> Basemap toolkit, even after re-installing Basemap from source.  I get:
> 
> AttributeError: Axes.frame was removed in favor of Axes.spines


It appears Basemap hasn't caught up with the new Axes.spines usage.

Can you change mpl_toolkits/basemap/__init__.py line 1265 from::

  ax.frame.set_linewidth(linewidth)

to::

  for spine in ax.spines.itervalues():
      spine.set_linewidth(linewidth)

There may be more issues, here -- this is just the first one and based
off your traceback.

Jeff: I had to drop the Axes.frame to implement spines that could be
moved relative to the Axes boundary. I made sure this worked with the
custom projection examples in the main MPL distribution, so I imagine it
won't take too much to convert basemap. Please see svn r7144, 7145, and
7170 for my changes to lib/matplotlib/projections/geo.py

-Andrew

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to