From e98ea55fcba852790f4aca8288ee59657c91d029 Mon Sep 17 00:00:00 2001 From: Emmanuelle Gouillart Date: Thu, 28 Nov 2019 16:10:24 -0500 Subject: [PATCH 1/3] dataframe parameter in px docstrings --- packages/python/plotly/plotly/express/_doc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/python/plotly/plotly/express/_doc.py b/packages/python/plotly/plotly/express/_doc.py index 8948e6b321d..6fc69c30004 100644 --- a/packages/python/plotly/plotly/express/_doc.py +++ b/packages/python/plotly/plotly/express/_doc.py @@ -22,6 +22,7 @@ "DataFrame or array-like or dict", "This argument needs to be passed for column names (and not keyword names) to be used.", "Array-like and dict are tranformed internally to a pandas DataFrame.", + "Optional, since a DataFrame gets constructed under the hood using the other arguments." ], x=[ colref_type, From 797da3624b9969738e4397fed9e712ea7123e8a1 Mon Sep 17 00:00:00 2001 From: Emmanuelle Gouillart Date: Thu, 28 Nov 2019 16:19:45 -0500 Subject: [PATCH 2/3] black --- packages/python/plotly/plotly/express/_doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/python/plotly/plotly/express/_doc.py b/packages/python/plotly/plotly/express/_doc.py index 6fc69c30004..b29d29655ad 100644 --- a/packages/python/plotly/plotly/express/_doc.py +++ b/packages/python/plotly/plotly/express/_doc.py @@ -22,7 +22,7 @@ "DataFrame or array-like or dict", "This argument needs to be passed for column names (and not keyword names) to be used.", "Array-like and dict are tranformed internally to a pandas DataFrame.", - "Optional, since a DataFrame gets constructed under the hood using the other arguments." + "Optional, since a DataFrame gets constructed under the hood using the other arguments.", ], x=[ colref_type, From aaf5bf51068b8bdf9d5b692ba82dd72d56041509 Mon Sep 17 00:00:00 2001 From: Emmanuelle Gouillart Date: Thu, 28 Nov 2019 17:11:22 -0500 Subject: [PATCH 3/3] wording --- packages/python/plotly/plotly/express/_doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/python/plotly/plotly/express/_doc.py b/packages/python/plotly/plotly/express/_doc.py index b29d29655ad..c1d015cbe31 100644 --- a/packages/python/plotly/plotly/express/_doc.py +++ b/packages/python/plotly/plotly/express/_doc.py @@ -22,7 +22,7 @@ "DataFrame or array-like or dict", "This argument needs to be passed for column names (and not keyword names) to be used.", "Array-like and dict are tranformed internally to a pandas DataFrame.", - "Optional, since a DataFrame gets constructed under the hood using the other arguments.", + "Optional: if missing, a DataFrame gets constructed under the hood using the other arguments.", ], x=[ colref_type,