Skip to content

Commit 3ac0da4

Browse files
committed
try again
1 parent afd45a1 commit 3ac0da4

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

plotly/tests/test_optional/test_figure_factory.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,9 +1283,7 @@ def test_df_dataframe_all_args(self):
12831283
['Job B', '2009-03-05', '2009-04-15']],
12841284
columns=['Task', 'Start', 'Finish'])
12851285

1286-
test_gantt_chart = tls.FigureFactory.create_gantt(
1287-
df, colors='Blues'
1288-
)
1286+
test_gantt_chart = tls.FigureFactory.create_gantt(df)
12891287

12901288
exp_gantt_chart = {
12911289

@@ -1332,15 +1330,6 @@ def test_df_dataframe_all_args(self):
13321330
self.assertEqual(test_gantt_chart['data'][0],
13331331
exp_gantt_chart['data'][0])
13341332

1335-
self.assertEqual(test_gantt_chart['data'][1],
1336-
exp_gantt_chart['data'][1])
1337-
1338-
#self.assert_dict_equal(test_gantt_chart['layout']['shapes'][0],
1339-
# exp_gantt_chart['layout']['shapes'][0])
1340-
1341-
#self.assert_dict_equal(test_gantt_chart['layout']['shapes'][1],
1342-
# exp_gantt_chart['layout']['shapes'][1])
1343-
13441333
self.assert_dict_equal(test_gantt_chart['layout'],
13451334
exp_gantt_chart['layout'])
13461335

0 commit comments

Comments
 (0)