Spaces:
Running
Running
Remove `y_ticks`
Browse files- probability/02_axioms.py +1 -1
probability/02_axioms.py
CHANGED
|
@@ -123,7 +123,7 @@ def _(event, mo, np, plt):
|
|
| 123 |
fig, ax = plt.subplots(figsize=(8, 2))
|
| 124 |
ax.bar(dice, np.ones_like(dice), color=colors)
|
| 125 |
ax.set_xticks(dice)
|
| 126 |
-
ax.
|
| 127 |
ax.set_title(f"P(Event) = {prob:.2f}")
|
| 128 |
|
| 129 |
# Add explanation
|
|
|
|
| 123 |
fig, ax = plt.subplots(figsize=(8, 2))
|
| 124 |
ax.bar(dice, np.ones_like(dice), color=colors)
|
| 125 |
ax.set_xticks(dice)
|
| 126 |
+
ax.set_yticks([])
|
| 127 |
ax.set_title(f"P(Event) = {prob:.2f}")
|
| 128 |
|
| 129 |
# Add explanation
|