Skip to content
Snippets Groups Projects
Commit 66f74bce authored by Britta Heymann's avatar Britta Heymann
Browse files

Darken color of delay distribution analysis

To make it easier to read the slides
parent e3be6228
No related branches found
No related tags found
1 merge request!163Adapt evaluations for slides
Pipeline #
...@@ -64,7 +64,7 @@ def main(analysisFileName, messageType, messagePrio, graphicFileName): ...@@ -64,7 +64,7 @@ def main(analysisFileName, messageType, messagePrio, graphicFileName):
# Plot bar chart # Plot bar chart
plt.subplot(2,1,1) plt.subplot(2,1,1)
plt.title('Delay distribution of delivered {} messages\nPriority {}'.format(messageType, messagePrio)) plt.title('Delay distribution of delivered {} messages\nPriority {}'.format(messageType, messagePrio))
plt.bar(bins, vals) plt.bar(bins, vals, color='#003a80')
plt.ylabel('Percentage of messages') plt.ylabel('Percentage of messages')
plt.grid(True) plt.grid(True)
axes = plt.gca() axes = plt.gca()
...@@ -72,7 +72,7 @@ def main(analysisFileName, messageType, messagePrio, graphicFileName): ...@@ -72,7 +72,7 @@ def main(analysisFileName, messageType, messagePrio, graphicFileName):
# Directly below, plot cumulative chart # Directly below, plot cumulative chart
plt.subplot(2,1,2) plt.subplot(2,1,2)
plt.plot(bins, [cumulative[bin] for bin in bins]) plt.plot(bins, [cumulative[bin] for bin in bins], color='#003a80')
plt.xlabel('Delay in minutes') plt.xlabel('Delay in minutes')
plt.ylabel('Cumulative percentage') plt.ylabel('Cumulative percentage')
plt.grid(True) plt.grid(True)
......
  • Contributor

    SonarQube analysis reported no issues.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment