class_docstr: Class representing a rectangle.
class_docstr_tok: ["Class","representing","a","rectangle","."]
docstr: Sets the shape of the rectangle (width, height).
docstr_tok: ["Sets","the","shape","of","the","rectangle","(","width",",","height",")","."]
code: def shape(self, shape):
      """Sets the shape of the rectangle (width, height)."""
      self.width, self.height = shape
  
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 21 for calling the Rectangle obj's underlying member method code with example usage: obj.shape(shape) without return types