def update_plots(self, *args):
    for plot in self.plots:
        with self.canvas:
            Color(plot.color)
            for pt in plot.points:
                t = pt[0]
                a = math.radians(pt[1][0])
                m = pt[1][1]
                x = (self.center_x + (((math.cos(a) * min(1, (m / self.scale))) * (self.dim * self.ratio)) * 0.5))
                y = (self.center_y + (((math.sin(a) * min(1, (m / self.scale))) * (self.dim * self.ratio)) * 0.5))
                Rectangle(pos=(x, y), size=(2, 2))
def update_plots(self, *args):
    for plot in self.plots:
        with self.canvas:
            Color(plot.color)
            for pt in plot.points:
                t = pt[0]
                a = math.radians(pt[1][0])
                m = pt[1][1]
                x = (self.center_x + (((math.cos(a) * min(1, (m / self.scale))) * (self.dim * self.ratio)) * 0.5))
                y = (self.center_y + (((math.sin(a) * min(1, (m / self.scale))) * (self.dim * self.ratio)) * 0.5))
                Rectangle(pos=(x, y), size=(2, 2))