Skip to content

Commit 4d5d1f0

Browse files
authored
String should be on one line (#235)
1 parent f61c844 commit 4d5d1f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lectures/samuelson.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,8 +1145,7 @@ class Samuelson():
11451145
if isinstance(root, complex):
11461146
# Need to fill operator for positive as string is split apart
11471147
operator = ['+', '']
1148-
label = rf'$\lambda_{i+1} = {sam.roots[i].real:.2f} \
1149-
{operator[i]} {sam.roots[i].imag:.2f}i$'
1148+
label = rf'$\lambda_{i+1} = {sam.roots[i].real:.2f} {operator[i]} {sam.roots[i].imag:.2f}i$'
11501149
else:
11511150
label = rf'$\lambda_{i+1} = {sam.roots[i].real:.2f}$'
11521151
ax.scatter(0, 0, 0, label=label) # dummy to add to legend

0 commit comments

Comments
 (0)