Skip to content

Commit e7a2fbc

Browse files
bugfix
1 parent 744afb9 commit e7a2fbc

File tree

1 file changed

+1
-0
lines changed
  • packages/python/plotly/plotly/express/trendline_functions

1 file changed

+1
-0
lines changed

Diff for: packages/python/plotly/plotly/express/trendline_functions/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def lowess(trendline_options, x_raw, x, y, x_label, y_label, non_missing):
9393

9494
def _pandas(mode, trendline_options, x_raw, y, non_missing):
9595
modes = dict(rolling="Rolling", ewm="Exponentially Weighted", expanding="Expanding")
96+
trendline_options = trendline_options.copy()
9697
function_name = trendline_options.pop("function", "mean")
9798
function_args = trendline_options.pop("function_args", dict())
9899
series = pd.Series(y, index=x_raw)

0 commit comments

Comments
 (0)