Changeset 1e90588


Ignore:
Timestamp:
Mar 22, 2013, 5:43:59 PM (11 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:
d83ac74
Parents:
1eee405
Message:

python/demos/demo_waveform_plot.py: also set x limits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/demos/demo_waveform_plot.py

    r1eee405 r1e90588  
    3737
    3838def set_xlabels_sample2time(ax, latest_sample, samplerate):
     39    ax.axis(xmin = 0, xmax = latest_sample)
    3940    if latest_sample / float(samplerate) > 60:
    4041        ax.set_xlabel('time (mm:ss)')
Note: See TracChangeset for help on using the changeset viewer.