plot_image

ketos.audio.utils.filter.plot_image(img, fig, ax, extent=None, xlabel='', ylabel='')[source]

Draw the image.

Args:
img: numpy array

Pixel values

fig: matplotlib.figure.Figure

Figure object

ax: matplotlib.axes.Axes

Axes object

extent: tuple(float,float,float,float)

Extent of axes, optional.

xlabel: str

Label for x axis, optional.

ylabel: str

Label for y axis, optional.

Returns:

None