diff --git a/doc/charts/chart_deploy_time_debian.png b/doc/charts/chart_deploy_time_debian.png index 5226182d0c30499dd0277b76b90ce0e9d17b2953..5a1e4862e1bd741a4581ae37a769e9d852433114 100644 --- a/doc/charts/chart_deploy_time_debian.png +++ b/doc/charts/chart_deploy_time_debian.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:45cfc1486e1a2ce929d279e728e26a08d00a29696cf6373894247253b72729aa -size 18578 +oid sha256:16d6e032e9b65645f52f8be94e40dee41313e27c93becfbcbfbc5852b3fb83d3 +size 18595 diff --git a/doc/charts/chart_deploy_time_debian.svg b/doc/charts/chart_deploy_time_debian.svg index 0393b336468f7416b8b35f2222f3f345066dcc3c..155b7e39585a9806fa8b978e3738feb1312ba4c7 100644 --- a/doc/charts/chart_deploy_time_debian.svg +++ b/doc/charts/chart_deploy_time_debian.svg @@ -7,7 +7,7 @@ <rdf:RDF xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <cc:Work> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> - <dc:date>2020-08-16T19:18:09.724445</dc:date> + <dc:date/> <dc:format>image/svg+xml</dc:format> <dc:creator> <cc:Agent> diff --git a/doc/charts/chart_deploy_time_win10.png b/doc/charts/chart_deploy_time_win10.png index 9ffbe7210ebe6e62abee869f64b4e57db7352a17..b030c974563b3165ef704b0d77f6ed2d2f1d5ada 100644 --- a/doc/charts/chart_deploy_time_win10.png +++ b/doc/charts/chart_deploy_time_win10.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ececbb3c526023b31d619469bef208357e4b9328d7191ace787f138945793566 -size 19594 +oid sha256:e56f8e95afc8a8c7c5486ff7de5fbc03d9e0b08538fc10e330758b9b01242df1 +size 19611 diff --git a/doc/charts/chart_deploy_time_win10.svg b/doc/charts/chart_deploy_time_win10.svg index 08df1320643661d45efee65c7d0cd24bd86da8d4..2261609b859965ee8ac47504181dfdf25e7183cc 100644 --- a/doc/charts/chart_deploy_time_win10.svg +++ b/doc/charts/chart_deploy_time_win10.svg @@ -7,7 +7,7 @@ <rdf:RDF xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <cc:Work> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> - <dc:date>2020-08-16T19:18:10.751033</dc:date> + <dc:date/> <dc:format>image/svg+xml</dc:format> <dc:creator> <cc:Agent> diff --git a/doc/charts/chart_deploy_time_xubuntu.png b/doc/charts/chart_deploy_time_xubuntu.png index b0502c25f4442bd4c0211dc51d6d298fdedc2e2c..8eaf18cb166a0fb515b9262276c960989107cd78 100644 --- a/doc/charts/chart_deploy_time_xubuntu.png +++ b/doc/charts/chart_deploy_time_xubuntu.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:730faa3b5d5b5c1a31a1f9455154f66e7ebedff0b912f66255fa16222edbfa5a -size 19266 +oid sha256:bfd3d19199ac0ca010f3fdb396f4f25eeb97e80f239e40ef9fbb5134ab08dc64 +size 19283 diff --git a/doc/charts/chart_deploy_time_xubuntu.svg b/doc/charts/chart_deploy_time_xubuntu.svg index e46174394ed60267f8172defbda27b7d5b921608..9a0ae6b2e633594fb4db54c09dbb180352691075 100644 --- a/doc/charts/chart_deploy_time_xubuntu.svg +++ b/doc/charts/chart_deploy_time_xubuntu.svg @@ -7,7 +7,7 @@ <rdf:RDF xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <cc:Work> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> - <dc:date>2020-08-16T19:18:10.244037</dc:date> + <dc:date/> <dc:format>image/svg+xml</dc:format> <dc:creator> <cc:Agent> diff --git a/doc/charts/chart_image_sizes_debian.png b/doc/charts/chart_image_sizes_debian.png index 7eb8eba5be7a8d0879cd96682621ea8a046356eb..ed66b518bdbf35f654f78d97d0cceef146adbc37 100644 --- a/doc/charts/chart_image_sizes_debian.png +++ b/doc/charts/chart_image_sizes_debian.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1c83eab1894f44baf8d346a345a9e98da1d2385f7b92abcc3bf363adc7416a24 -size 12235 +oid sha256:72dddd9d970802d725ca43a07f308ab63518cf94831893a53a9a9b588ab3b07c +size 12252 diff --git a/doc/charts/chart_image_sizes_debian.svg b/doc/charts/chart_image_sizes_debian.svg index 9d5b6677119f1b17b0f73d75fd283647e6411e21..425164ae72317a160207a255b3ac91e2476247b1 100644 --- a/doc/charts/chart_image_sizes_debian.svg +++ b/doc/charts/chart_image_sizes_debian.svg @@ -7,7 +7,7 @@ <rdf:RDF xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <cc:Work> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> - <dc:date>2020-08-16T19:18:08.204014</dc:date> + <dc:date/> <dc:format>image/svg+xml</dc:format> <dc:creator> <cc:Agent> diff --git a/doc/charts/chart_image_sizes_win10.png b/doc/charts/chart_image_sizes_win10.png index 8358bb8f21ec093f395fa43e4fd5fb9e36a666b5..40927fb9c78301615ae59521786bba9eab65e9f8 100644 --- a/doc/charts/chart_image_sizes_win10.png +++ b/doc/charts/chart_image_sizes_win10.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1d7e8bc591131e9a18bbc29ef29294100fa01f9a8904c88004abeec831dd519a -size 12543 +oid sha256:db91753fd27e72a13f107dd563d2f210156c5c3ce326f014fcc5339f21070588 +size 12560 diff --git a/doc/charts/chart_image_sizes_win10.svg b/doc/charts/chart_image_sizes_win10.svg index 4f089ffb291b0ff47326aa1947e211b48e48221e..7ec9764f7fb24472dd9c4c586a314a40d724628d 100644 --- a/doc/charts/chart_image_sizes_win10.svg +++ b/doc/charts/chart_image_sizes_win10.svg @@ -7,7 +7,7 @@ <rdf:RDF xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <cc:Work> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> - <dc:date>2020-08-16T19:18:09.215542</dc:date> + <dc:date/> <dc:format>image/svg+xml</dc:format> <dc:creator> <cc:Agent> diff --git a/doc/charts/chart_image_sizes_xubuntu.png b/doc/charts/chart_image_sizes_xubuntu.png index e6a8d8f15fda2cc5b3b8bd9e69aa9b473387eeb9..1890a79598fb94634e9d91c096a782a7ac420755 100644 --- a/doc/charts/chart_image_sizes_xubuntu.png +++ b/doc/charts/chart_image_sizes_xubuntu.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:32c51829ae50fd667e8fe755f9c9558dc4c382abc64b8ef76064107262e3bc35 -size 13627 +oid sha256:47d157454c78337c2341d5f06af9814db166333934e22b676a0a6eddcaea8ae5 +size 13644 diff --git a/doc/charts/chart_image_sizes_xubuntu.svg b/doc/charts/chart_image_sizes_xubuntu.svg index c7418b637170226a95211771d2d0c7e4e6c860c9..86a540760c995762f0172e3b70af3441c86b7ece 100644 --- a/doc/charts/chart_image_sizes_xubuntu.svg +++ b/doc/charts/chart_image_sizes_xubuntu.svg @@ -7,7 +7,7 @@ <rdf:RDF xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <cc:Work> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> - <dc:date>2020-08-16T19:18:08.711073</dc:date> + <dc:date/> <dc:format>image/svg+xml</dc:format> <dc:creator> <cc:Agent> diff --git a/doc/charts/chart_protocols.png b/doc/charts/chart_protocols.png index 39ca5bac082e22832a5fe02df22082ed85d93630..2cfd6bf58a734e68c74b33ff44038caf7c2c5578 100644 --- a/doc/charts/chart_protocols.png +++ b/doc/charts/chart_protocols.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6315daadb53225c7f0e11ad6b9e8ac4267eb5ec25604961aacefa95e65f71285 -size 13041 +oid sha256:5c397128b766a698e2213708fbb90089771834b0a458e3bf22efc18f5f86306f +size 13058 diff --git a/doc/charts/chart_protocols.svg b/doc/charts/chart_protocols.svg index c9472a56fd286eefc8b394df895dd51f3612a8f0..783c8b500b988ab0982962b41923c2cce2b5a12c 100644 --- a/doc/charts/chart_protocols.svg +++ b/doc/charts/chart_protocols.svg @@ -7,7 +7,7 @@ <rdf:RDF xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <cc:Work> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> - <dc:date>2020-08-16T19:18:07.697144</dc:date> + <dc:date/> <dc:format>image/svg+xml</dc:format> <dc:creator> <cc:Agent> diff --git a/doc/csv2barchart.py b/doc/csv2barchart.py index c8f11210ddaefc032f4c6fcd1dcd752712b841f9..d279e101a8dceb786efc230f9880e4ee198a4dac 100755 --- a/doc/csv2barchart.py +++ b/doc/csv2barchart.py @@ -10,6 +10,7 @@ import matplotlib.pyplot as plt # this is a seed that makes the random id in svg always the same for the same input mpl.rcParams['svg.hashsalt'] = 'bootiful' + def remove_newlines(value): return str(value).replace('\n', ' ') @@ -25,10 +26,10 @@ def csv_to_barchart(file: TextIO) -> plt.Figure: print(f'|--|--|{"--|" * len(other_labels)}') data_csv_reader = csv.reader(file, delimiter=';', quoting=csv.QUOTE_NONNUMERIC) - xs=[] - xticks=[] - yticks=[] - ys=[] + xs = [] + xticks = [] + yticks = [] + ys = [] for (x, (xtick, y, *other_values)) in enumerate(data_csv_reader): ytick = format_value(y) print(f'|{remove_newlines(xtick)}|{ytick}|{"".join([f"{format_value(value)}|" for value in other_values])}') @@ -40,16 +41,17 @@ def csv_to_barchart(file: TextIO) -> plt.Figure: fig = plt.figure() plt.bar(xs, ys) plt.xticks(xs, xticks) - #plt.yticks(ys, yticks) + # plt.yticks(ys, yticks) plt.xlabel(xlabel) plt.ylabel(ylabel) plt.gcf().subplots_adjust(bottom=0.15) plt.tick_params(axis='x', labelsize=10) return fig + if __name__ == '__main__': filenames = argv[1:] fig = csv_to_barchart(stdin) for filename in filenames: - fig.savefig(filename) \ No newline at end of file + fig.savefig(filename, metadata={'Date': ''}) diff --git a/doc/rapport.pdf b/doc/rapport.pdf index ca0fb45cf2de7a2ac8bb716533b44d2d0e335c31..100fb04a6e096a165f31a41072c469323b8d5add 100644 Binary files a/doc/rapport.pdf and b/doc/rapport.pdf differ