Skip to content

Commit 86291ff

Browse files
authored
Merge pull request #563 from Yoginski/gantt-error-message-fix
Modified gantt datasource validation error message
2 parents 3434aeb + 7681352 commit 86291ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/tools.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1695,7 +1695,7 @@ def _validate_gantt(df):
16951695
if key not in df:
16961696
raise exceptions.PlotlyError(
16971697
"The columns in your dataframe must include the "
1698-
"keys".format(REQUIRED_GANTT_KEYS)
1698+
"following keys: {0}".format(', '.join(REQUIRED_GANTT_KEYS))
16991699
)
17001700

17011701
num_of_rows = len(df.index)

0 commit comments

Comments
 (0)