Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ def plot_figure(N, u1, std1, u2, std2, show_dist, classifier=None):
|
|
| 27 |
import numpy as np
|
| 28 |
import matplotlib.pyplot as pp
|
| 29 |
pp.style.use('default')
|
| 30 |
-
|
| 31 |
|
| 32 |
points_class1 = [stats.norm.rvs(loc=u1, scale = std1) for x in range(N)]
|
| 33 |
points_class2 = [stats.norm.rvs(loc=u2, scale = std2) for x in range(N)]
|
|
|
|
| 27 |
import numpy as np
|
| 28 |
import matplotlib.pyplot as pp
|
| 29 |
pp.style.use('default')
|
| 30 |
+
val = 0. # this is the value where you want the data to appear on the y-axis.
|
| 31 |
|
| 32 |
points_class1 = [stats.norm.rvs(loc=u1, scale = std1) for x in range(N)]
|
| 33 |
points_class2 = [stats.norm.rvs(loc=u2, scale = std2) for x in range(N)]
|