code: def plot(self, vertices, show=False):
          
          if vertices.shape[1] != 2:
              raise ValueError('only for 2D points!')
  
          import matplotlib.pyplot as plt
  
          # get rotation angle in degrees
          angle = np.degrees(self.angle(vertices))
  
          plt.text(*vertices[self.origin],
                   s=self.text,
                   rotation=angle,
                   ha=self.align[0],
                   va=self.align[1],
                   size=18)
  
          if show:
              plt.show()
docs: Plot the text using matplotlib.
  
          Parameters
          --------------
          vertices : (n, 2) float
            Vertices in space
          show : bool
            If True, call plt.show()