merged
This commit is contained in:
12
Pipfile
Normal file
12
Pipfile
Normal 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"
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user