Ignore:
Timestamp:
Sep 26, 2009, 1:42:52 AM (15 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
634d238
Parents:
55ed67a
Message:

python/aubio: use Gnuplot.Data with_ keywords, with is a reserved keyword in python 2.6 (debian #512622)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubio/task/pitch.py

    r55ed67a r5f23f66  
    157157                time = [ (i+self.params.pitchdelay)*self.params.step for i in range(len(pitch)) ]
    158158                pitch = [aubio_freqtomidi(i) for i in pitch]
    159                 oplots.append(Gnuplot.Data(time,pitch,with='lines',
     159                oplots.append(Gnuplot.Data(time,pitch,with_='lines',
    160160                        title=self.params.pitchmode))
    161161                titles.append(self.params.pitchmode)
     
    171171                        timet,pitcht = self.gettruth()
    172172                        if timet and pitcht:
    173                                 oplots = [Gnuplot.Data(timet,pitcht,with='lines',
     173                                oplots = [Gnuplot.Data(timet,pitcht,with_='lines',
    174174                                        title='ground truth')] + oplots
    175175
Note: See TracChangeset for help on using the changeset viewer.