Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 457c083

Browse files
committed
Change to setext headers
1 parent 90359b0 commit 457c083

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@
405405

406406

407407
def make_docstring(fn):
408-
result = (fn.__doc__ or "") + "\nArguments:\n"
408+
result = (fn.__doc__ or "") + "\nParameters\n----------\n"
409409
for arg in inspect.getargspec(fn)[0]:
410410
d = (
411411
" ".join(docs[arg] or "")
@@ -414,5 +414,6 @@ def make_docstring(fn):
414414
)
415415
result += " %s: %s\n" % (arg, d)
416416
result += "Returns:\n"
417+
result += "\nReturns\n-------\n"
417418
result += " A `Figure` object."
418419
return result

0 commit comments

Comments
 (0)