def generate_points(self):
    pattern = ('[%s]' % ''.join(self.get_path_commands()))
    pairs = list(zip(re.findall(pattern, self.path_string), re.split(pattern, self.path_string)[1:]))
    self = self
    for (command, coord_string) in pairs:
        self.handle_command(command, coord_string)
    self.rotate(np.pi, RIGHT, about_point=ORIGIN)
def generate_points(self):
    pattern = ('[%s]' % .join(self.get_path_commands()))
    pairs = list(zip(re.findall(pattern, self.path_string), re.split(pattern, self.path_string)[1:]))
    self = self
    for (command, coord_string) in pairs:
        self.handle_command(command, coord_string)
    self.rotate(np.pi, RIGHT, about_point=ORIGIN)