code: def plot_entities(self, show=False, annotations=True, color=None):
          
          import matplotlib.pyplot as plt
          plt.axes().set_aspect('equal', 'datalim')
          eformat = {'Line0': {'color': 'g', 'linewidth': 1},
                     'Line1': {'color': 'y', 'linewidth': 1},
                     'Arc0': {'color': 'r', 'linewidth': 1},
                     'Arc1': {'color': 'b', 'linewidth': 1},
                     'Bezier0': {'color': 'k', 'linewidth': 1},
                     'Bezier1': {'color': 'k', 'linewidth': 1},
                     'BSpline0': {'color': 'm', 'linewidth': 1},
                     'BSpline1': {'color': 'm', 'linewidth': 1}}
          for entity in self.entities:
              if annotations and hasattr(entity, 'plot'):
                  entity.plot(self.vertices)
                  continue
              discrete = entity.discrete(self.vertices)
              e_key = entity.__class__.__name__ + str(int(entity.closed))
              fmt = eformat[e_key]
              if color is not None:
                  # passed color will override other optons
                  fmt['color'] = color
              elif hasattr(entity, 'color'):
                  # if entity has specified color use it
                  fmt['color'] = entity.color
              plt.plot(*discrete.T, **fmt)
          if show:
              plt.show()
docs: Plot the entities of the path, with no notion of topology