def get(self):
        name = self.get_argument('name', None)
        fillColor = self.get_argument('fillColor', "#F2583E")
        resolution = self.get_argument('resolution', None)
        accType = self.get_argument('accType', 'ROC')
        logger.info('request {} {} {}'.format(name, fillColor, resolution))
        if name and name in monitor.measurers:
            measurer = monitor.measurers[name]
            logger.debug('set resolution {}'.format(resolution))
            measurer.set_resolution(resolution)
            if accType == 'ROC':
                accuracies = measurer.get_ROCs()
            elif accType == 'PRC':
                accuracies = measurer.get_PRCs()
            else:
                accuracies = None
            intervals = measurer.intervals()
            resolution = measurer.resolution
        else:
            accuracies = None
            intervals = None
            resolution = 0.01
        logger.debug('accuracies {}'.format(accuracies))
        logger.debug('intervals {}'.format(intervals))
        logger.debug('resolution {}'.format(resolution))
        TOOLS = 'pan,wheel_zoom,box_zoom,reset,save'
        p = figure(tools=TOOLS, plot_width=1000)
        self.draw(p, accuracies, intervals, resolution, fillColor)
        p.title = '{} for {}'.format(accType, name)
        p.grid.grid_line_alpha = 0.3
        response = file_html(p, INLINE, p.title)
        self.write(decode_utf8(response))
        self.set_header("Content-Type", "text/html")
dataset/ETHPy150Open xumiao/pymonk/monk/roles/monitor.py/AccuracyHandler.get/original