class_docstr: Class representing a rectangle.
class_docstr_tok: ["Class","representing","a","rectangle","."]
docstr: Moves the center of the box to the given Y coordinate
docstr_tok: ["Moves","the","center","of","the","box","to","the","given","Y","coordinate"]
code: def midy(self, value):
      """Moves the center of the box to the given Y coordinate"""
      dy = value - (self._top + self._bottom) / 2.0
      self._top += dy
      self._bottom += dy
  
imports: from collections import defaultdict
  from math import atan2, cos, hypot, sin
  from typing import NamedTuple
  from igraph.utils import consecutive_pairs
label_desc: Use image node_id 19 for calling the Rectangle obj's underlying member method code with example usage: obj.midy(value) without return types