diff --git a/plotly/tools.py b/plotly/tools.py index 7e0272e67a..86df74f55c 100644 --- a/plotly/tools.py +++ b/plotly/tools.py @@ -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)