code: def resize(self, w, h):
          
          self.plane_w = w
          self.plane_h = h
          self.plane_ratio = self.char_ratio * w / h
  
          if self.crosshairs:
              self.crosshairs_coord = ((w + 2) // 2, (h + 2) // 2)
docs: Used when resizing the plane, resets the plane ratio factor.
  
          :param w: New width of the visible section of the plane.
          :param h: New height of the visible section of the plane.