Hello, I've been using basemap with plt.colorbar for sometime, but I
just recently started to have the problem of:
AttributeError: 'NoneType' object has no attribute 'autoscale_None'

I ran the fcstmaps.py example (GREAT EXAMPLE by the way), and here is
the full error I get:

Traceback (most recent call last):
  File "fcstmaps.py", line 92, in <module>
    plt.colorbar(cax=cax, orientation='horizontal')
  File "/matplotlib/pyplot.py", line 1519, in colorbar
    ret = gcf().colorbar(mappable, cax = cax, ax=ax, **kw)
  File "/matplotlib/figure.py", line 1180, in colorbar
    cb = cbar.Colorbar(cax, mappable, **kw)
  File "/matplotlib/colorbar.py", line 706, in __init__
    mappable.autoscale_None() # Ensure mappable.norm.vmin, vmax
AttributeError: 'NoneType' object has no attribute 'autoscale_None'

I did upgrade matplotlib recently to version 1.0.0

Basemap is 0.99.4

Thanks,
john

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to