You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/python/plotly/plotly/express/_doc.py
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -402,18 +402,23 @@
402
402
],
403
403
trendline=[
404
404
"str",
405
-
"One of `'ols'`or `'lowess'`.",
405
+
"One of `'ols'`, `'lowess'`, `'ma'` or `'ewma'`.",
406
406
"If `'ols'`, an Ordinary Least Squares regression line will be drawn for each discrete-color/symbol group.",
407
407
"If `'lowess`', a Locally Weighted Scatterplot Smoothing line will be drawn for each discrete-color/symbol group.",
408
+
"If `'ma`', a Moving Average line will be drawn for each discrete-color/symbol group.",
409
+
"If `'ewma`', an Exponentially Weighted Moving Average line will be drawn for each discrete-color/symbol group.",
410
+
"See the docstrings for the functions in `plotly.express.trendline_functions` for more details on these functions and how",
411
+
"to configure them with the `trendline_options` argument.",
408
412
],
409
413
trendline_options=[
410
414
"dict",
411
-
"Options passed to the function named in the `trendline` argument.",
415
+
"Options passed as the first argument to the function from `plotly.express.trendline_functions` ",
416
+
"named in the `trendline` argument.",
412
417
],
413
418
trendline_color_override=[
414
419
"str",
415
420
"Valid CSS color.",
416
-
"If provided, and if `trendline` is set, all trendlines will be drawn in this color.",
421
+
"If provided, and if `trendline` is set, all trendlines will be drawn in this color rather than in the same color as the traces from which they draw their inputs.",
0 commit comments