Skip to content

Commit fca2ac3

Browse files
committed
Merge branch 'anaconda=2024.02' of https://github.com/QuantEcon/lecture-python-advanced.myst into anaconda=2024.02
2 parents 32d3a1e + 8af8977 commit fca2ac3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lectures/smoothing_tax.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -607,14 +607,13 @@ class TaxSmoothingExample:
607607
608608
fig, ax = plt.subplots()
609609
ax.set_title('Cumulative return path (complete markets)')
610-
line1 = ax.plot(np.arange(N), self.RT_path)[0]
610+
line1 = ax.plot(np.arange(N), self.RT_path, color='blue')[0]
611611
c1 = line1.get_color()
612612
ax.set_xlabel('Periods')
613613
ax.set_ylabel('Cumulative return', color=c1)
614614
615615
ax_ = ax.twinx()
616-
ax_._get_lines.prop_cycler = ax._get_lines.prop_cycler
617-
line2 = ax_.plot(np.arange(N), self.g_path, ls='--')[0]
616+
line2 = ax_.plot(np.arange(N), self.g_path, ls='--', color='green')[0]
618617
c2 = line2.get_color()
619618
ax_.set_ylabel('Government expenditures', color=c2)
620619

0 commit comments

Comments
 (0)