From 7681352e06b3d68428a0a988b017b8047741c034 Mon Sep 17 00:00:00 2001 From: Yoginski Date: Sat, 3 Sep 2016 13:44:52 -0400 Subject: [PATCH] Modified gantt datasource validation error message --- plotly/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plotly/tools.py b/plotly/tools.py index 6d5de58e3b..670641ce40 100644 --- a/plotly/tools.py +++ b/plotly/tools.py @@ -1693,7 +1693,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)