class_docstr: Basic rectangle representation using kiwi solver variables
class_docstr_tok: ["Basic","rectangle","representation","using","kiwi","solver","variables"]
docstr: Constrain the height of the layout box.  height is
  either a float or a layoutbox.height.
docstr_tok: ["Constrain","the","height","of","the","layout","box",".","height","is","either","a","float","or","a","layoutbox.height","."]
code: def constrain_height(self, height, strength="strong"):
      """
      Constrain the height of the layout box.  height is
      either a float or a layoutbox.height.
      """
      c = self.height == height
      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 23 for calling the LayoutBox obj's underlying member method code with example usage: obj.constrain_height(height, strength) without return types