From c248f82890db6998ff4ac399741b4b3ac50420d2 Mon Sep 17 00:00:00 2001 From: Nils Date: Mon, 4 Apr 2022 18:51:57 +0200 Subject: [PATCH] push --- laboration4/uppgift_3.py | 7 ++-- .../__pycache__/klasser.cpython-39.pyc | Bin 0 -> 935 bytes laboration5/basics.py | 31 ++++++++++++++++++ laboration5/klasser.py | 19 +++++++++++ laboration5/uppg_1.py | 18 ++++++++++ 5 files changed, 72 insertions(+), 3 deletions(-) create mode 100644 laboration5/__pycache__/klasser.cpython-39.pyc create mode 100644 laboration5/basics.py create mode 100644 laboration5/klasser.py create mode 100644 laboration5/uppg_1.py diff --git a/laboration4/uppgift_3.py b/laboration4/uppgift_3.py index 458a41d..59226d4 100644 --- a/laboration4/uppgift_3.py +++ b/laboration4/uppgift_3.py @@ -7,13 +7,14 @@ import matplotlib import matplotlib.pyplot as plt import sys + # Mainloop def main(): - + # matplotlib setup matplotlib.use("AGG") plt.figure() - + # Accept multiple csv-files arg_len = len(sys.argv) - 1 csv_files = list() @@ -29,7 +30,7 @@ def main(): # Adds labels and info about current functions plt.xlabel("Dagar") plt.ylabel("Antal koppar") - plt.legend(loc='upper left', bbox_to_anchor=(1, 0, 1, 1)) + plt.legend(loc="upper left", bbox_to_anchor=(1, 0, 1, 1)) plt.savefig(__file__[0:-3] + ".png", bbox_inches="tight") diff --git a/laboration5/__pycache__/klasser.cpython-39.pyc b/laboration5/__pycache__/klasser.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c39acec1b8929ed3f56649b6e5558f8efa9cea5c GIT binary patch literal 935 zcmZuvy>1gh5Z>L}J71h1p%f`7(4|2#ic*Ef3J3`!L}Nt)n$tZKu)6C7xelt5iD|dJ61n9@tSLaPe$Tu`L$phmV zu-gamk|?6+6!?b4M6uVT;dQ|O53M5}f?JcADiSlbrI_-jH1-r%{*=UA1*!&rUxkpR zUV3M`C`kuOSQF~V&wP|p5!UcZ-cOAxd6AD@$&DQ71}nMK zS=agi_)KgKe!re{n#o(ItxLMObuMY;ozXy>!X;YI``lNEA`voG4JRRi1#0&#YY=y6M^RP zL6n+8N0-t@X7TC5$|%!)C;QqSj*k8ZM`U;LCF@C}^cviRY=;we6g7g<%d}a|1=co@ zMYU6lV=Z|vPfdeXbGkDkAzWdF*ao2613~B>;-a~