This commit is contained in:
aaron
2021-11-30 14:03:11 +01:00
2 changed files with 14 additions and 2 deletions

12
Pipfile Normal file
View File

@@ -0,0 +1,12 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
matplotlib = "*"
[dev-packages]
[requires]
python_version = "3.9"

View File

@@ -29,9 +29,9 @@ def p_meet_positive_bayes(groupsize:int):
def plot_data(data):
plt.plot(data)
plt.title("probability of meeting a covid positive in groupsize of n")
plt.title("likelihood of having a covid positive in groupsize of n")
plt.xlabel("group size / n")
plt.ylabel("probability")
plt.ylabel("probability / %")
plt.grid(linestyle='--', linewidth='0.1')
plt.show()