Skip to content

Commit daee87c

Browse files
committed
Remove y_ticks
1 parent 9aa97cc commit daee87c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

probability/02_axioms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def _(event, mo, np, plt):
123123
fig, ax = plt.subplots(figsize=(8, 2))
124124
ax.bar(dice, np.ones_like(dice), color=colors)
125125
ax.set_xticks(dice)
126-
ax.set_ylim(0, 1.2)
126+
ax.set_yticks([])
127127
ax.set_title(f"P(Event) = {prob:.2f}")
128128

129129
# Add explanation

0 commit comments

Comments
 (0)