I get this error

Traceback (most recent call last):
  File "simpletest.py", line 22, in <module>
    savefig('simpletest.pdf')
  File "/Users/jsw/lib/python/matplotlib/pylab.py", line 796, in savefig
    return fig.savefig(*args, **kwargs)
  File "/Users/jsw/lib/python/matplotlib/figure.py", line 727, in savefig
    self.canvas.print_figure(*args, **kwargs)
  File "/Users/jsw/lib/python/matplotlib/backends/backend_gtkagg.py", 
line 114, in print_figure
    orientation, **kwargs)
  File "/Users/jsw/lib/python/matplotlib/backends/backend_agg.py", line 
493, in print_figure
    orientation, **kwargs)
  File "/Users/jsw/lib/python/matplotlib/backends/backend_pdf.py", line 
1334, in print_figure
    file.close()
  File "/Users/jsw/lib/python/matplotlib/backends/backend_pdf.py", line 
399, in close
    self.writeFonts()
  File "/Users/jsw/lib/python/matplotlib/backends/backend_pdf.py", line 
454, in writeFonts
    fontdictObject = self.embedTTF(filename)
  File "/Users/jsw/lib/python/matplotlib/backends/backend_pdf.py", line 
506, in embedTTF
    widths = [ get_char_width(charcode) for charcode in range(firstchar, 
lastchar+1) ]
  File "/Users/jsw/lib/python/matplotlib/backends/backend_pdf.py", line 
503, in get_char_width
    unicode = cp1252.decoding_map[charcode] or 0
AttributeError: 'module' object has no attribute 'decoding_map'

when running the basemap example simpletest.py (or any other basemap 
example), and then saving to a pdf file using savefig.

I'm using the latest svn.

-Jeff

-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/PSD  R/PSD1        Email  : [EMAIL PROTECTED]
325 Broadway                Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web    : http://tinyurl.com/5telg


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to