code: def histogramdd(self):
          
          shape = self.components['positions'].shape
          edges = self.components['positions'].edges()
          hist = self.components['data'].array.reshape(shape)
          return (hist,edges)
docs: Return array data as (edges,grid), i.e. a numpy nD histogram.