Crash in CVS

Hi there,

I've just started playing with matplot and am VERY impressed.
However, I thought I'd mention two items in case no one else has seen
them.

1) There are a lot of Deprecation warnings on loading.
2) I can generate an X Window Error via a gdk crash. Here's the tail of
the trace:
[------
  File "/usr/lib/python2.3/site-packages/matplotlib/text.py", line 310,
in _set_font
    self._layout = self._drawingArea.create_pango_layout(self._text)
TypeError: GtkWidget.create_pango_layout() argument 1 must be string,
not int
The program 'stats.py' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 4152 error_code 8 request_code 73 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error()
function.)

-----]

And here's the code. If you run it as is, it works fine (though the plot
is ugly.) However, if you uncomment the "set(gca(),...", it gives the
error.

I've started using matplot in a script to auto-generate a report.

-Charles

···

--
Charles R. Twardy Monash University, School of CSSE
ctwardy at alumni indiana edu +61(3) 9905 5823 (w) 5146 (fax)
                             ~^~
  "eloquence ought to be banish'd out of all civil Societies as a
   thing fatal to Peace and good Manners..." ~Sprat 1667