def _queue_barplots(self, results_data, labels): if (len(results_data) > 1): bar_width = 1.0 / len(results_data) else: bar_width = 0.8 for (index, result_data) in enumerate(results_data): offset = bar_width * index PlotOperations.queue_plot( Barplot(x=np.arange(offset, len(result_data), step=1), height=result_data, width=bar_width, label=labels[index]))
def _queue_histogram_plots(self, results_data, labels): PlotOperations.queue_plot( Histogram(x=results_data, bins=self._default_histogram_bins(), label=labels, rwidth=0.8))
def _queue_boxplots(self, results_data, labels): PlotOperations.queue_plot( Boxplot(x=results_data, positions=range(len(results_data)), labels=labels))