summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
925d789)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
)
if l_result >= ymax:
ymax = 1.2 * l_result
)
if l_result >= ymax:
ymax = 1.2 * l_result
plt.ylim(ymin=0, ymax=ymax)
plt.xticks(x_data, labels, rotation=90, family="monospace")
plt.title(graph_get_title(branch, benchmark_type), fontweight="bold")
plt.ylim(ymin=0, ymax=ymax)
plt.xticks(x_data, labels, rotation=90, family="monospace")
plt.title(graph_get_title(branch, benchmark_type), fontweight="bold")
plt.xlabel("Latest commits")
plt.legend()
plt.xlabel("Latest commits")
plt.legend()
+ # Put tick on the right side
+ ax.tick_params(labeltop=False, labelright=True)
+
plt.tight_layout()
return
plt.tight_layout()
return
plt.xlabel("Latest commits")
plt.legend()
plt.xlabel("Latest commits")
plt.legend()
+ # Put tick on the right side
+ ax.tick_params(labeltop=False, labelright=True)
+
plt.tight_layout()
return
plt.tight_layout()
return
def generate_graph(branches, report_name, git_path):
# The PDF document
def generate_graph(branches, report_name, git_path):
# The PDF document