python/aubio/plot/keyboard.py: use with_, thanks to Dan Muresan
authorPaul Brossier <piem@piem.org>
Mon, 2 May 2011 10:35:24 +0000 (12:35 +0200)
committerPaul Brossier <piem@piem.org>
Mon, 2 May 2011 10:35:24 +0000 (12:35 +0200)
python/aubio/plot/keyboard.py

index 8fe57d9b9bf5f06fc0669ac5b5b469c098e45390..2de5d7541bc89d1421d4941f9a8f14340e2cef0f 100755 (executable)
@@ -30,8 +30,8 @@ def draw_keyboard(firstnote = 21, lastnote = 108, y0 = 0, y1 = 1):
   yb      = [y0+(y1-y0)*2/3. for i in range(len(xb))]
   ybdelta = [(y1-y0)*1/3. for i in range(len(xb))]
 
-  whites  = Gnuplot.Data(xw,yw,xwdelta,ywdelta,with = 'boxxyerrorbars')
-  blacks  = Gnuplot.Data(xb,yb,xbdelta,ybdelta,with = 'boxxyerrorbars fill solid')
+  whites  = Gnuplot.Data(xw,yw,xwdelta,ywdelta,with_ = 'boxxyerrorbars')
+  blacks  = Gnuplot.Data(xb,yb,xbdelta,ybdelta,with_ = 'boxxyerrorbars fill solid')
 
   return blacks,whites