We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f61c844 commit 4d5d1f0Copy full SHA for 4d5d1f0
lectures/samuelson.md
@@ -1145,8 +1145,7 @@ class Samuelson():
1145
if isinstance(root, complex):
1146
# Need to fill operator for positive as string is split apart
1147
operator = ['+', '']
1148
- label = rf'$\lambda_{i+1} = {sam.roots[i].real:.2f} \
1149
- {operator[i]} {sam.roots[i].imag:.2f}i$'
+ label = rf'$\lambda_{i+1} = {sam.roots[i].real:.2f} {operator[i]} {sam.roots[i].imag:.2f}i$'
1150
else:
1151
label = rf'$\lambda_{i+1} = {sam.roots[i].real:.2f}$'
1152
ax.scatter(0, 0, 0, label=label) # dummy to add to legend
0 commit comments