Interface: TrendlineResult
One OLS fit of a figure, as a row of px's get_trendline_results DataFrame.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
fit | readonly | OlsFit | The fit: coefficients, R², standard errors, p-values, … (statsmodels' OLSResults). |
frame? | readonly | string | Name of the frame the fit belongs to, for animated figures. |
groups | readonly | Readonly<Record<string, string>> | The group the line was fit on: { sex: 'Female', day: 'Sun' } by column label (the grouping, facet and frame columns), empty for the overall trendline. |
logX | readonly | boolean | Whether x (y) was fit on its log10 (trendlineOptions.logX / logY). |
logY | readonly | boolean | - |
traceIndex | readonly | number | Index of the trendline trace in figure.data (and in each frame's data). |