Figimage demo


I've been playing with the matplotlib demos (very impressive btw.) and I've found that and give exceptions on my computer. Here's the last part of the backtrace for

Traceback (most recent call last):
   File "/usr/lib64/python2.4/site-packages/matplotlib/backends/", line 284, in expose_event
     self._render_figure(self._pixmap, w, h)
   File "/usr/lib64/python2.4/site-packages/matplotlib/backends/", line 73, in _render_figure
   File "/usr/lib64/python2.4/site-packages/matplotlib/backends/", line 392, in draw
   File "/usr/lib64/python2.4/site-packages/matplotlib/", line 545, in draw
     for a in self.axes: a.draw(renderer)
   File "/usr/lib64/python2.4/site-packages/matplotlib/", line 1067, in draw
   File "/usr/lib64/python2.4/site-packages/matplotlib/", line 189, in draw
     im = self.make_image(renderer.get_image_magnification())
TypeError: make_image() takes exactly 1 argument (2 given)

Looking at the FigureImage class in, make_image doesn't seem to have any clue about the magnification parameter. This call is in, and not the demo code, so it would appear to be a bug in the library. Any idea what's wrong?




Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma