[matplotlib-devel] backend_pdf error

2007-03-14 Thread Jeff Whitaker

I get this error

Traceback (most recent call last):
  File "simpletest.py", line 22, in 
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/PSD1Email  : [EMAIL PROTECTED]
325 BroadwayOffice : 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


[matplotlib-devel] anyone care to make a basemap egg?

2007-03-14 Thread Jeff Whitaker
Hi All:

I've had a lot of requests lately for a basemap binary installer for 
windows.  Unfortunately, I don't have access to Windows at home or at 
work (it's an all mac/linux shop here).  I'd really appreciate it if 
someone who uses windows and can compile matplotlib from source could 
help me out. Just check out basemap from svn, run 'python setupegg.py 
bdist_egg', and tell me where to pick up the resulting binary egg.  Thanks!

-Jeff

-- 
Jeffrey S. Whitaker Phone  : (303)497-6313
Meteorologist   FAX: (303)497-6449
NOAA/OAR/PSD  R/PSD1Email  : [EMAIL PROTECTED]
325 BroadwayOffice : 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