class_docstr: Basic rectangle representation using kiwi solver variables
class_docstr_tok: ["Basic","rectangle","representation","using","kiwi","solver","variables"]
code: def constrain_geometry(
      self, left, bottom, right, top, strength="strong"
  ):
      hc = [
          self.left == left,
          self.right == right,
          self.bottom == bottom,
          self.top == top,
      ]
      for c in hc:
          self.solver.addConstraint((c | strength))
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import itertools
  import kiwisolver
  import logging
  import numpy
  import warnings
  import matplotlib
label_desc: Use image node_id 10 for calling the LayoutBox obj's underlying member method code with example usage: obj.constrain_geometry(left, bottom, right, top, strength) without return types