audioflux.display.Plot
- class audioflux.display.Plot(nrows=1, ncols=1, sharex=False, sharey=False, fig_width=8, fig_height=8, fig_kw=None)
Create a set of subplots for audioflux.
- Parameters
- nrows: int, default: 1
Number of rows of the subplot grid.
- ncols: int, default: 1
Number of columns of the subplot grid.
- sharex bool or {‘none’, ‘all’, ‘row’, ‘col’}, default: False
Controls sharing of properties among x (sharex)
- sharey: bool or {‘none’, ‘all’, ‘row’, ‘col’}, default: False
Controls sharing of properties among y (sharey)
- fig_width: float
Width in inches.
- fig_height: float
Height in inches.
- fig_kw:
Finger params
Methods
add_plot
(x, y[, label, row_idx, col_idx, ...])Add plot data
add_spec_data
(data[, x_coords, y_coords, ...])Add spectrogram data
add_wave_data
(data[, samplate, row_idx, col_idx])Add wave data
close
([fig])Close a figure window.
get_axes
(row, col)Get axes
save
(fname, *[, dpi, format, metadata, ...])Save plot to file
show
()Show plot