macos x backend not functioning in trunk

I've started to see these errors today:

TypeError: function takes exactly 3 arguments (4 given)
Traceback (most recent call last):
   File "/Users/jwhitaker/.local/lib/python2.6/site-packages/matplotlib/artist.py", line 55, in draw_wrapper
     draw(artist, renderer, *args, **kwargs)
   File "/Users/jwhitaker/.local/lib/python2.6/site-packages/matplotlib/figure.py", line 738, in draw
     if self.frameon: self.patch.draw(renderer)
   File "/Users/jwhitaker/.local/lib/python2.6/site-packages/matplotlib/artist.py", line 55, in draw_wrapper
     draw(artist, renderer, *args, **kwargs)
   File "/Users/jwhitaker/.local/lib/python2.6/site-packages/matplotlib/patches.py", line 406, in draw
     renderer.draw_path(gc, tpath, affine, rgbFace)
   File "/Users/jwhitaker/.local/lib/python2.6/site-packages/matplotlib/backends/backend_macosx.py", line 54, in draw_path
     gc.draw_path(path, transform, linewidth, rgbFace)
TypeError: function takes exactly 3 arguments (4 given)

I'm guessing some of Eric's recent changes to alpha handling in paths require modifications to the MacOS X backend?

-Jeff

···

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

I've started to see these errors today:

TypeError: function takes exactly 3 arguments (4 given)
Traceback (most recent call last):
    File
"/Users/jwhitaker/.local/lib/python2.6/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
      draw(artist, renderer, *args, **kwargs)
    File
"/Users/jwhitaker/.local/lib/python2.6/site-packages/matplotlib/figure.py",
line 738, in draw
      if self.frameon: self.patch.draw(renderer)
    File
"/Users/jwhitaker/.local/lib/python2.6/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
      draw(artist, renderer, *args, **kwargs)
    File
"/Users/jwhitaker/.local/lib/python2.6/site-packages/matplotlib/patches.py",
line 406, in draw
      renderer.draw_path(gc, tpath, affine, rgbFace)
    File
"/Users/jwhitaker/.local/lib/python2.6/site-packages/matplotlib/backends/backend_macosx.py",
line 54, in draw_path
      gc.draw_path(path, transform, linewidth, rgbFace)
TypeError: function takes exactly 3 arguments (4 given)

I'm guessing some of Eric's recent changes to alpha handling in paths
require modifications to the MacOS X backend?

Correct. I'll fix it.

Eric

···

On 08/17/2010 06:36 AM, Jeff Whitaker wrote:

-Jeff

Eric Firing wrote:

···

On 08/17/2010 06:36 AM, Jeff Whitaker wrote:
  

I'm guessing some of Eric's recent changes to alpha handling in paths
require modifications to the MacOS X backend?
    
Correct. I'll fix it.
  
I see the Mac OS X buildbot is back online now, so perhaps we could add
some unit tests that run on that backend? (I don't know the mac backend
at all -- is it possible for it to save output, or even to run without
access to the graphics system?)

-Andrew