@@ -452,7 +452,7 @@ fig, ax = plt.subplots(figsize=(6, 6))
452452ax.contourf(sp.π_grid, sp.w_grid, v_star, 12, alpha=0.6, cmap=cm.jet)
453453cs = ax.contour(sp.π_grid, sp.w_grid, v_star, 12, colors="black")
454454ax.clabel(cs, inline=1, fontsize=10)
455- ax.set(xlabel='$\pi$', ylabel='$w$')
455+ ax.set(xlabel=r '$\pi$', ylabel='$w$')
456456
457457plt.show()
458458```
@@ -466,7 +466,7 @@ T, get_greedy = operator_factory(sp)
466466fig, ax = plt.subplots(figsize=(6, 6))
467467ax.contourf(sp.π_grid, sp.w_grid, σ_star, 1, alpha=0.6, cmap=cm.jet)
468468ax.contour(sp.π_grid, sp.w_grid, σ_star, 1, colors="black")
469- ax.set(xlabel='$\pi$', ylabel='$w$')
469+ ax.set(xlabel=r '$\pi$', ylabel='$w$')
470470
471471ax.text(0.5, 0.6, 'reject')
472472ax.text(0.7, 0.9, 'accept')
@@ -758,7 +758,7 @@ ax.fill_between(sp.π_grid, 0, w_bar, color='blue', alpha=0.15)
758758ax.fill_between(sp.π_grid, w_bar, sp.w_max, color='green', alpha=0.15)
759759ax.text(0.5, 0.6, 'reject')
760760ax.text(0.7, 0.9, 'accept')
761- ax.set(xlabel='$\pi$', ylabel='$w$')
761+ ax.set(xlabel=r '$\pi$', ylabel='$w$')
762762ax.grid()
763763plt.show()
764764```
@@ -1009,7 +1009,7 @@ def job_search_example(F_a=1, F_b=1, G_a=3, G_b=1.2, c=0.3):
10091009 q = axs[0, 1].quiver(Π, W, ΔΠ, ΔW, scale=2, color='r', alpha=0.8)
10101010
10111011 axs[0, 1].hlines(roots, 0., 1., linestyle="--")
1012- axs[0, 1].set(xlabel='$\pi$', ylabel='$w$')
1012+ axs[0, 1].set(xlabel=r '$\pi$', ylabel='$w$')
10131013 axs[0, 1].grid()
10141014
10151015 axs[1, 0].plot(f(x_grid), x_grid, label='$f$', lw=2)
@@ -1024,7 +1024,7 @@ def job_search_example(F_a=1, F_b=1, G_a=3, G_b=1.2, c=0.3):
10241024 axs[1, 1].set_ylim([0., 1.])
10251025 axs[1, 1].grid()
10261026 axs[1, 1].legend(loc=4)
1027- axs[1, 1].set(xlabel='$\pi$', ylabel='$\mathbb{P}\{w > \overline{w} (\pi)\}$')
1027+ axs[1, 1].set(xlabel=r '$\pi$', ylabel=r '$\mathbb{P}\{w > \overline{w} (\pi)\}$')
10281028
10291029 plt.show()
10301030
0 commit comments