class Example(gantt.Standard): data = acso show_rowlines = True row_attrib = "example_same_row" properties = \ {"row.linestyle" : "dashed", "row.linewidth" : .5, "background.facecolor" : "white" } def modify_widget(self, widget, task): if task.complete >= 100: facecolor = "green" elif task.complete > 0 : facecolor = "orange" else: facecolor = "red" widget.row.add_artist(Circle((RIGHT-12*HSEP, VCENTER), 4 * VSEP, facecolor=facecolor))