看起来 gantt_chart() 不适用于以下数据集:
tg_p = [ (0, 12), (0, 5), (0,13) ] tg_v = ['0','1','2','3','4','5','6','7','8','9','10','11' , '12', '13', '14'] tg_h = ['test','test2','test3'] tg_c = [ (1.0, 0.0, 0.0), (1.0, 0.7, 0.0), (0.0, 1.0, 0.0) ] CairoPlot.gantt_chart('gantt-123', tg_p, 600, 300, tg_h, tg_v, tg_c)
它只是呈现一个酒吧,有什么想法吗?
谢谢你