code: def make_patch(self):
          '''
          Retuns a matplotlib PathPatch representing the current region.
          '''
          path = [self.arcs[0].start_point()]
          for a in self.arcs:
              if a.direction:
                  vertices = Path.arc(a.from_angle, a.to_angle).vertices
              else:
                  vertices = Path.arc(a.to_angle, a.from_angle).vertices
                  vertices = vertices[np.arange(len(vertices) - 1, -1, -1)]
              vertices = vertices * a.radius + a.center
              path = path + list(vertices[1:])
          codes = [1] + [4] * (len(path) - 1)  # NB: We could also add a CLOSEPOLY code (and a random vertex) to the end
          return PathPatch(Path(path, codes)f make_patch(self):
          '''
          Retuns a matplotlib PathPatch representing the current region.
          '''
          path = [self.arcs[0].start_point()]
          for a in self.arcs:
              if a.direction:
                  vertices = Path.arc(a.from_angle, a.to_angle).vertices
              else:
                  vertices = Path.arc(a.to_angle, a.from_angle).vertices
                  vertices = vertices[np.arange(len(vertices) - 1, -1, -1)]
              vertices = vertices * a.radius + a.center
              path = path + list(vertices[1:])
          codes = [1] + [4] * (len(path) - 1)  # NB: We could also add a CLOSEPOLY code (and a random vertex) to the end
          return PathPatch(Path(path, codes))
docs: Retuns a matplotlib PathPatch representing the current region.