Skip to content

Commit 7a4bdc5

Browse files
committed
Update scalar_dynam.md
fix y_label format problem in plot45
1 parent 6151bfa commit 7a4bdc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lectures/scalar_dynam.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def plot45(g, xmin, xmax, x0, num_arrows=6, var='x'):
336336
ax.set_xlim(xmin, xmax)
337337
ax.set_ylim(xmin, xmax)
338338
ax.set_xlabel(r'${}_t$'.format(var), fontsize=14)
339-
ax.set_ylabel(r'${}_{t+1}$'.format(var), fontsize=14)
339+
ax.set_ylabel(r'${}_{}$'.format(var, str('{t+1}')), fontsize=14)
340340
341341
hw = (xmax - xmin) * 0.01
342342
hl = 2 * hw

0 commit comments

Comments
 (0)