Skip to content

Commit 860a321

Browse files
tweak docstrings
1 parent bd0d368 commit 860a321

File tree

1 file changed

+4
-3
lines changed
  • packages/python/plotly/plotly/express

1 file changed

+4
-3
lines changed

packages/python/plotly/plotly/express/_doc.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -402,11 +402,12 @@
402402
],
403403
trendline=[
404404
"str",
405-
"One of `'ols'`, `'lowess'`, `'ma'` or `'ewma'`.",
405+
"One of `'ols'`, `'lowess'`, `'rolling'`, `'expanding'` or `'ewm'`.",
406406
"If `'ols'`, an Ordinary Least Squares regression line will be drawn for each discrete-color/symbol group.",
407407
"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.",
408+
"If `'rolling`', a Rolling (e.g. rolling average, rolling median) line will be drawn for each discrete-color/symbol group.",
409+
"If `'expanding`', an Expanding (e.g. expanding average, expanding sum) line will be drawn for each discrete-color/symbol group.",
410+
"If `'ewm`', an Exponentially Weighted Moment (e.g. exponentially-weighted moving average) line will be drawn for each discrete-color/symbol group.",
410411
"See the docstrings for the functions in `plotly.express.trendline_functions` for more details on these functions and how",
411412
"to configure them with the `trendline_options` argument.",
412413
],

0 commit comments

Comments
 (0)