Skip to content

Commit bd551c0

Browse files
fix tests py2.7
1 parent 3129e63 commit bd551c0

File tree

1 file changed

+2
-2
lines changed
  • packages/python/plotly/plotly/express

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,9 +520,9 @@ def make_docstring(fn, override_dict={}, append_dict={}):
520520
result = (fn.__doc__ or "") + "\nParameters\n----------\n"
521521
for param in getfullargspec(fn)[0]:
522522
if override_dict.get(param):
523-
param_doc = override_dict[param].copy()
523+
param_doc = list(override_dict[param])
524524
else:
525-
param_doc = docs[param].copy()
525+
param_doc = list(docs[param])
526526
if append_dict.get(param):
527527
param_doc += append_dict[param]
528528
param_desc_list = param_doc[1:]

0 commit comments

Comments
 (0)