plots = [baseline, lttng, one_thr, two_thr, four_thr, eight_thr, sixteen_thr]
- title='Meantime per syscalls for {} testcase'.format(graph_type)
+ title='Meantime per event for {} testcase'.format(graph_type)
# Create a axe object for each sub-plots
f, arrax = plt.subplots(len(plots), sharex=True, figsize=(16, 25))
# Plot each line and its errorbars
for (data, stdev) in zip(data_cols, stdev_cols):
- ax.errorbar(x=df.index.values, y=df[data], yerr=df[stdev], marker='o')
+ ax.errorbar(x=df.index.values, y=df[data].values, yerr=df[stdev].values, marker='o')
ax.set_ylim(0)
ax.grid()
ax.set_xlabel('Jenkins Build ID')
- ax.set_ylabel('Meantime per syscall [us]')
+ ax.set_ylabel('Meantime per event [us]')
- ax.xaxis.set_major_locator(MaxNLocator(integer=True))
+ ax.xaxis.set_major_locator(MaxNLocator(integer=True, nbins=30))
ax.legend(prop={'family': 'monospace'},
labels=curr_df.columns.values, bbox_to_anchor=(1.2,1))