def __show_histogram(self, channel):
        start  = self.histograms[channel][0]
        width  = self.histograms[channel][1]
        values = self.histograms[channel][2]
        
        ind = numpy.arange(start=start, stop=start + width * len(values), step=width)[:-1]
        plt.bar(ind, height=values[:-1], width=width, color='b')
        plt.ylabel('pdf')
        plt.xlabel(self.sensor.band_names[channel] + ' Value')

        bm = self.backscatter_model[channel]
        
        (threshold, params) = self.__find_threshold_histogram(channel)
        if params != None:
            mid = int((params[0] - start) / width)
            cumulative = sum(values[:mid]) + values[mid] / 2
            scale = self.__cdf(params, params[0], bm) / cumulative
            plt.bar(ind, map(lambda x : scale * (self.__cdf(params, x + width, bm) - self.__cdf(params, x, bm)), ind), width=width, color='r', alpha=0.5)
        plt.plot((threshold, threshold), (0, 0.02), 'g--')
dataset/ETHPy150Open nasa/CrisisMappingToolkit/cmt/radar/histogram.py/RadarHistogram.__show_histogram/swapped operands of `/`