@@ -1349,7 +1349,25 @@ def test_gannt_groups_and_descriptions(self):
1349
1349
)
1350
1350
1351
1351
exp_gantt_chart = {
1352
- 'data' : [{'marker' : {'color' : 'white' },
1352
+ 'data' : [{'hoverinfo' : 'none' ,
1353
+ 'marker' : {'color' : 'rgb(220, 0, 0)' , 'size' : 1 },
1354
+ 'name' : 'TA' ,
1355
+ 'showlegend' : True ,
1356
+ 'x' : ['2009-04-20' , '2009-04-20' ],
1357
+ 'y' : [0 , 0 ]},
1358
+ {'hoverinfo' : 'none' ,
1359
+ 'marker' : {'color' : 'rgb(170, 14, 200)' , 'size' : 1 },
1360
+ 'name' : 'TB' ,
1361
+ 'showlegend' : True ,
1362
+ 'x' : ['2009-04-20' , '2009-04-20' ],
1363
+ 'y' : [1 , 1 ]},
1364
+ {'hoverinfo' : 'none' ,
1365
+ 'marker' : {'color' : 'rgb(255, 230, 41)' , 'size' : 1 },
1366
+ 'name' : 'TC' ,
1367
+ 'showlegend' : True ,
1368
+ 'x' : ['2009-04-20' , '2009-04-20' ],
1369
+ 'y' : [2 , 2 ]},
1370
+ {'marker' : {'color' : 'white' },
1353
1371
'name' : '' ,
1354
1372
'text' : 'Task A - 1' ,
1355
1373
'x' : ['2008-10-05' , '2009-04-15' ],
@@ -1373,24 +1391,6 @@ def test_gannt_groups_and_descriptions(self):
1373
1391
'name' : '' ,
1374
1392
'text' : 'Task A - 2' ,
1375
1393
'x' : ['2009-04-20' , '2009-05-30' ],
1376
- 'y' : [2 , 2 ]},
1377
- {'hoverinfo' : 'none' ,
1378
- 'marker' : {'color' : 'rgb(220, 0, 0)' , 'size' : 1 },
1379
- 'name' : 'TA' ,
1380
- 'showlegend' : True ,
1381
- 'x' : ['2009-04-20' , '2009-04-20' ],
1382
- 'y' : [0 , 0 ]},
1383
- {'hoverinfo' : 'none' ,
1384
- 'marker' : {'color' : 'rgb(170, 14, 200)' , 'size' : 1 },
1385
- 'name' : 'TB' ,
1386
- 'showlegend' : True ,
1387
- 'x' : ['2009-04-20' , '2009-04-20' ],
1388
- 'y' : [1 , 1 ]},
1389
- {'hoverinfo' : 'none' ,
1390
- 'marker' : {'color' : 'rgb(255, 230, 41)' , 'size' : 1 },
1391
- 'name' : 'TC' ,
1392
- 'showlegend' : True ,
1393
- 'x' : ['2009-04-20' , '2009-04-20' ],
1394
1394
'y' : [2 , 2 ]}],
1395
1395
'layout' : {'height' : 600 ,
1396
1396
'hovermode' : 'closest' ,
0 commit comments