From 4d5d1f007ffa82726269105e7e9907dc3f103b64 Mon Sep 17 00:00:00 2001 From: mmcky Date: Wed, 22 Jun 2022 13:25:22 +1000 Subject: [PATCH] String should be on one line (#235) --- lectures/samuelson.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lectures/samuelson.md b/lectures/samuelson.md index ac48a6e13..18bfc4749 100644 --- a/lectures/samuelson.md +++ b/lectures/samuelson.md @@ -1145,8 +1145,7 @@ class Samuelson(): if isinstance(root, complex): # Need to fill operator for positive as string is split apart operator = ['+', ''] - label = rf'$\lambda_{i+1} = {sam.roots[i].real:.2f} \ - {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$' else: label = rf'$\lambda_{i+1} = {sam.roots[i].real:.2f}$' ax.scatter(0, 0, 0, label=label) # dummy to add to legend