code: def dict_hist_cumsum(hist_, reverse=True):
      
      import utool as ut
      items = hist_.items()
      if reverse:
          items = sorted(items)[::-1]
      else:
          items = sorted(items)
      key_list = ut.get_list_column(items, 0)
      val_list = ut.get_list_column(items, 1)
      cumhist_ = dict(zip(key_list, np.cumsum(val_list)))
      return cumhist_
docs: VERY HACKY