code: def get_data(self, element, ranges, style, **kwargs):
      xdim = element.kdims[0]
      ydim = element.vdims[0]
      values = np.asarray(element.interface.coords(element, ydim))
      edges = np.asarray(element.interface.coords(element, xdim))
      if len(edges) < 2:
          binwidth = 0
      else:
          binwidth = edges[1] - edges[0]
  
      if self.invert_axes:
          ys = edges
          xs = values
          orientation = "h"
      else:
          xs = edges
          ys = values
          orientation = "v"
      return [
          {
              "x": xs,
              "y": ys,
              "width": binwidth,
              "orientation": orientation,
          }
      ]
  
imports: import numpy
  import param
  from ...element import Tiles
  from ...operation import interpolate_curve
  from ..mixins import AreaMixin, BarsMixin
  from .element import ColorbarPlot, ElementPlot
  from .selection import PlotlyOverlaySelectionDisplay
label_desc: Use image node_id 2 for calling the HistogramPlot obj's underlying member method code with example usage: obj.get_data(element, ranges, style) and returns: list