class_docstr: Basic rectangle representation using kiwi solver variables
class_docstr_tok: ["Basic","rectangle","representation","using","kiwi","solver","variables"]
docstr: Make the layoutbox have same position as other layoutbox
docstr_tok: ["Make","the","layoutbox","have","same","position","as","other","layoutbox"]
code: def constrain_same(self, other, strength="strong"):
      """
      Make the layoutbox have same position as other layoutbox
      """
      hc = [
          self.left == other.left,
          self.right == other.right,
          self.bottom == other.bottom,
          self.top == other.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 11 for calling the LayoutBox obj's underlying member method code with example usage: obj.constrain_same(other, strength) without return types