5 这里是我用来做与pygal单杠: bar_chart = pygal.HorizontalBar(show_legend=False) bar_chart.title = "Title" bar_chart.add("", [1, 4, 6, 7, 2, 3]) bar_chart.x_labels = ("the", "quick", "brown", "fox", "jumps", "over") 它产生这样的曲线图: 来源 2016-01-01 01:09:09 +0 我怎样才能使不同颜色的每个标签,而不是一个如图所示? – +0 你有没有试过http://www.pygal.org/en/stable/documentation/configuration/value.html?highlight=color? – Remco
我怎样才能使不同颜色的每个标签,而不是一个如图所示? –
你有没有试过http://www.pygal.org/en/stable/documentation/configuration/value.html?highlight=color? – Remco