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-3
Original file line number
Diff line number
Diff line change
@@ -384,18 +384,23 @@
384
384
],
385
385
trendline=[
386
386
"str",
387
-
"One of `'ols'`or `'lowess'`.",
387
+
"One of `'ols'`, `'lowess'`, `'ma'` or `'ewma'`.",
388
388
"If `'ols'`, an Ordinary Least Squares regression line will be drawn for each discrete-color/symbol group.",
389
389
"If `'lowess`', a Locally Weighted Scatterplot Smoothing line will be drawn for each discrete-color/symbol group.",
390
+
"If `'ma`', a Moving Average line will be drawn for each discrete-color/symbol group.",
391
+
"If `'ewma`', an Exponentially Weighted Moving Average line will be drawn for each discrete-color/symbol group.",
392
+
"See the docstrings for the functions in `plotly.express.trendline_functions` for more details on these functions and how",
393
+
"to configure them with the `trendline_options` argument.",
390
394
],
391
395
trendline_options=[
392
396
"dict",
393
-
"Options passed to the function named in the `trendline` argument.",
397
+
"Options passed as the first argument to the function from `plotly.express.trendline_functions` ",
398
+
"named in the `trendline` argument.",
394
399
],
395
400
trendline_color_override=[
396
401
"str",
397
402
"Valid CSS color.",
398
-
"If provided, and if `trendline` is set, all trendlines will be drawn in this color.",
403
+
"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