Skip to content

Commit 8e1178b

Browse files
committed
update the string format
1 parent 5cc7263 commit 8e1178b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lectures/mle.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ for μ in [1, 5, 10]:
120120
121121
ax.grid()
122122
ax.set_xlabel('$y$', fontsize=14)
123-
ax.set_ylabel('$f(y \mid \mu)$', fontsize=14)
123+
ax.set_ylabel(r'$f(y \mid \mu)$', fontsize=14)
124124
ax.axis(xmin=0, ymin=0)
125125
ax.legend(fontsize=14)
126126
@@ -218,7 +218,7 @@ for X in datasets:
218218
219219
ax.grid()
220220
ax.legend()
221-
ax.set_xlabel('$y \mid x_i$')
221+
ax.set_xlabel(r'$y \mid x_i$')
222222
ax.set_ylabel(r'$f(y \mid x_i; \beta )$')
223223
ax.axis(xmin=0, ymin=0)
224224
plt.show()

0 commit comments

Comments
 (0)