examples/pylab_examples/image_nonuniform.py is broken in HEAD

An attempt to access "self._oldxslice" in _get_unsampled_image is
implicated: JJ is this related to your commit in r8035 : "support
unsampled image for ps backend"

  File 
"/home/jdhunter/dev/lib/python2.6/site-packages/matplotlib/backends/backend_wx.py",
line 1156, in _onPaint
    self.draw(drawDC=drawDC)
  File 
"/home/jdhunter/dev/lib/python2.6/site-packages/matplotlib/backends/backend_wxagg.py",
line 59, in draw
    FigureCanvasAgg.draw(self)
  File 
"/home/jdhunter/dev/lib/python2.6/site-packages/matplotlib/backends/backend_agg.py",
line 394, in draw
    self.figure.draw(self.renderer)
  File "/home/jdhunter/dev/lib/python2.6/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/home/jdhunter/dev/lib/python2.6/site-packages/matplotlib/figure.py",
line 802, in draw
    func(*args)
  File "/home/jdhunter/dev/lib/python2.6/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/home/jdhunter/dev/lib/python2.6/site-packages/matplotlib/axes.py",
line 1774, in draw
    a.draw(renderer)
  File "/home/jdhunter/dev/lib/python2.6/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/home/jdhunter/dev/lib/python2.6/site-packages/matplotlib/image.py",
line 306, in draw
    self._draw_unsampled_image(renderer, gc)
  File "/home/jdhunter/dev/lib/python2.6/site-packages/matplotlib/image.py",
line 250, in _draw_unsampled_image
    self._get_unsampled_image(self._A, self.get_extent(), self.axes.viewLim)
  File "/home/jdhunter/dev/lib/python2.6/site-packages/matplotlib/image.py",
line 184, in _get_unsampled_image
    if xslice != self._oldxslice or yslice != self._oldyslice:
AttributeError: 'NonUniformImage' object has no attribute '_oldxslice'

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to