audioflux.display.fill_plot

audioflux.display.fill_plot(x, y, axes=None, label='', is_legend=True, *, x_lims=None, y_lims=None, y_blank_threshold=0.15)

Display a plot data

Parameters
x: np.ndarray [shape=(time,)]

The horizontal(time) coordinates of the data points.

y: np.ndarray [shape=(data,)]

The vertical coordinates of the data points.

axes: matplotlib.axes.Axes or None

Axes to plot on instead of the default plt.subplot().

label: str

Set a label for the Axes.

x_lims: None or (left: float, right: float)

Set the x-axis view limits.

  • None: Automatically get the minimum and maximum values for the left and right of the x-axis coordinates.

  • (left: float, right: float): The left and right of the x-axis coordinates.

y_lims: None or (bottom: float, top: float)

Set the y-axis view limits.

  • None: Automatically get the minimum and maximum values for the bottom and top of the x-axis coordinates.

  • (bottom: float, top: float): The bottom and top of the y-axis coordinates.

y_blank_threshold: float

The space between the minimum and maximum values of the data and the y-axis scale.

Returns
axes: matplotlib.axes.Axes