def grid(self): # Create dashed line with grid x,y as floats # then, just like line, the line and blank segments G = Line(['foobarbaz']) G.color('76A4FB') G.line(3, 6, 3) G.grid(20.0, 25.0, 1, 0) return G