Caution

You're reading the documentation for a development version. For the latest released version, please have a look at 0.11.0.

Display

Data visualization

specshow(data, *[, x_coords, y_coords, ...])

Display a spectrogram/chromagram/cqt/etc.

waveshow(y, *[, sr, max_points, axis, ...])

Visualize a waveform in the time domain.

wavebars(y, *[, sr, n_bars, gap_ratio, ...])

Visualize a waveform as a series of bars representing the amplitude envelope.

wavef0(y, *, f0[, sr, hop_length, ...])

Visualize a waveform with an f0-displacement.

multiplot(func, *data[, axes, fig, orient, ...])

Visualize multiple related waveforms or spectrograms on an array of subplots.

colorbar_db(im, *[, ax, fig, format])

Attach a colorbar to an image representing decibel-scaled data.

colorbar_phase(im, *[, numticks, ax, fig])

Attach a colorbar to an image representing phase data in radians.

highlight(*[, artist, ax, color, ...])

Apply a contrasting highlight effect to a matplotlib artist.

legend_for_axes([axes, fig])

Create a figure-level legend for a collection of axes.

Axis formatting

TimeFormatter([lag, unit])

A tick formatter for time axes.

NoteFormatter([octave, major, key, unicode])

Ticker formatter for Notes

SvaraFormatter(Sa[, octave, major, abbr, ...])

Ticker formatter for Svara

FJSFormatter(*, fmin, n_bins, ...[, major, ...])

Ticker formatter for Functional Just System (FJS) notation

LogHzFormatter([major])

Ticker formatter for logarithmic frequency

ChromaFormatter([key, unicode])

A formatter for chroma axes

ChromaSvaraFormatter([Sa, mela, abbr, unicode])

A formatter for chroma axes with svara instead of notes.

ChromaFJSFormatter(*, intervals[, unison, ...])

A formatter for chroma axes with functional just notation

TonnetzFormatter()

A formatter for tonnetz axes

Miscellaneous

infer_cmap(data, *[, robust, cmap_seq, ...])

Get a default colormap from the given data.

AdaptiveWaveplot(times, y, steps, envelope)

A helper class for managing adaptive wave visualizations.

Transformf0(f0, *[, sr, hop_length, ...])

A utility class to handle f0-displacement for waveform visualizations.