def target(): n, a, l = self.validate_first_clusters_with_settings() return plot_windowed_metrics( n, a, l, ['首簇号'], [self.settings.cluster_plot_format], [self.settings.cluster_plot_plot_normal_points], [self.settings.cluster_plot_plot_abnormal_points], figure=figure ), '簇号参数图'
def target(): def s(attr=''): return getattr(self.settings, '%s_%s' % (method, attr)) n, a, l = self.validate_metrics_with_settings(method) return plot_windowed_metrics( n, a, l, [method], [s('format')], [s('plot_normal_points')], [s('plot_abnormal_points')], figure=figure ), '%s参数图' % method