glidertools.calibration.model_figs
- glidertools.calibration.model_figs(bottle_data, glider_data, model, ax=None)
Creates the figure for a linear model fit.
- Parameters:
bottle_data (np.array, shape=[m, ]) – bottle data with the number of matched bottle/glider samples
glider_data (np.array, shape[m, ]) – glider data with the number of matched bottle/glider samples
model (sklearn.linear_model object) – a fitted model that you want to test.
- Returns:
figure axes – A figure showing the fit of the
- Return type:
matplotlib.Axes