Skip to content

Commit

Permalink
Update scalar_dynam.md
Browse files Browse the repository at this point in the history
fix y_label format problem in plot45
  • Loading branch information
longye-tian committed Apr 26, 2024
1 parent 6151bfa commit 7a4bdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lectures/scalar_dynam.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def plot45(g, xmin, xmax, x0, num_arrows=6, var='x'):
ax.set_xlim(xmin, xmax)
ax.set_ylim(xmin, xmax)
ax.set_xlabel(r'${}_t$'.format(var), fontsize=14)
ax.set_ylabel(r'${}_{t+1}$'.format(var), fontsize=14)
ax.set_ylabel(r'${}_{}$'.format(var, str('{t+1}')), fontsize=14)
hw = (xmax - xmin) * 0.01
hl = 2 * hw
Expand Down

0 comments on commit 7a4bdc5

Please sign in to comment.