code: def show(self, annotations=True):
          
          if self.is_closed:
              self.plot_discrete(show=True, annotations=annotations)
          else:
              self.plot_entities(show=True, annotations=annotations)
docs: Plot the current Path2D object using matplotlib.