class_docstr: A `.SubplotDivider` for laying out axes horizontally, while ensuring that
  they have equal heights.
  
  Examples
  --------
  .. plot:: gallery/axes_grid1/demo_axes_hbox_divider.py
class_docstr_tok: ["A","`",".SubplotDivider","`","for","laying","out","axes","horizontally",",","while","ensuring","that","they","have","equal","heights",".","Examples","--","--","--","--","..","plot",":",":","gallery\/axes_grid1\/demo_axes_hbox_divider.py"]
code: def _locate(self, nx, ny, nx1, ny1, axes, renderer):
      # docstring inherited
      nx += self._xrefindex
      nx1 += self._xrefindex
      fig_w, fig_h = self._fig.bbox.size / self._fig.dpi
      x, y, w, h = self.get_position_runtime(axes, renderer)
      summed_ws = self.get_horizontal_sizes(renderer)
      equal_hs = self.get_vertical_sizes(renderer)
      x0, y0, ox, hh = _locate(
          x,
          y,
          w,
          h,
          summed_ws,
          equal_hs,
          fig_w,
          fig_h,
          self.get_anchor(),
      )
      if nx1 is None:
          nx1 = -1
      x1, w1 = x0 + ox[nx] / fig_w, (ox[nx1] - ox[nx]) / fig_w
      y1, h1 = y0, hh
      return mtransforms.Bbox.from_bounds(x1, y1, w1, h1)
  
imports: import functools
  import numpy
  import matplotlib
  from matplotlib import _api
  from matplotlib.gridspec import SubplotSpec
  import matplotlib.transforms
  from .None import axes_size
label_desc: Use image node_id 2 for calling the HBoxDivider obj's underlying member method code with example usage: obj._locate(nx, ny, nx1, ny1, axes, renderer) and returns: mtransforms