plot#
- data_morph.plotting.static.plot(df: DataFrame, x_bounds: Iterable[Number], y_bounds: Iterable[Number], save_to: str | Path, decimals: int, **save_kwds) Axes | None[source]#
Plot the dataset and summary statistics.
- Parameters:
df (pandas.DataFrame) – The dataset to plot.
x_bounds (Iterable[numbers.Number]) – The plotting limits.
y_bounds (Iterable[numbers.Number]) – The plotting limits.
save_to (str or pathlib.Path) – Path to save the plot frame to.
decimals (int) – The number of integers to highlight as preserved.
**save_kwds – Additional keyword arguments that will be passed down to
matplotlib.figure.Figure.savefig().
- Returns:
When
save_tois falsey, anAxesobject is returned.- Return type:
matplotlib.axes.Axes or None