Skip to content

Commit

Permalink
Merge pull request #563 from Yoginski/gantt-error-message-fix
Browse files Browse the repository at this point in the history
Modified gantt datasource validation error message
  • Loading branch information
jackparmer authored Oct 24, 2016
2 parents 3434aeb + 7681352 commit 86291ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plotly/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1695,7 +1695,7 @@ def _validate_gantt(df):
if key not in df:
raise exceptions.PlotlyError(
"The columns in your dataframe must include the "
"keys".format(REQUIRED_GANTT_KEYS)
"following keys: {0}".format(', '.join(REQUIRED_GANTT_KEYS))
)

num_of_rows = len(df.index)
Expand Down

0 comments on commit 86291ff

Please sign in to comment.