From 27d58d0add06c722f64e02d39852b498c560f430 Mon Sep 17 00:00:00 2001 From: David Pugh Date: Sun, 16 Aug 2020 16:23:40 +0100 Subject: [PATCH] Implementing fix for #63 --- src/MTfit/plot/plot_classes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MTfit/plot/plot_classes.py b/src/MTfit/plot/plot_classes.py index 39f4091..01ca168 100644 --- a/src/MTfit/plot/plot_classes.py +++ b/src/MTfit/plot/plot_classes.py @@ -2746,7 +2746,7 @@ def _uv_boundary_lines(self): # A self._line_plot(np.array([0, 4.*T/(4.-T)]), np.array([1, T/(4.-T)]), 0, c=grey, linestyle='--', linewidth=s*self.linewidth, zorder=-2) - if i <= np.floor(n/4.): + if i < 1: self._line_plot(np.array([0, 4.*k/(1-2*k)]), np.array([k, k/(1-2.*k)]), 0, c=grey, linestyle='--', linewidth=s*self.linewidth, zorder=-2) else: @@ -2759,7 +2759,7 @@ def _uv_boundary_lines(self): # A self._line_plot(np.array([0, -4.*T/(4.-T)]), np.array([-1, -T/(4.-T)]), 0, c=grey, linestyle='--', linewidth=s*self.linewidth, zorder=-2) - if i <= np.floor(n/4.): + if i < 1: self._line_plot(np.array([0, -4*k/(1-2*k)]), np.array([-k, -k/(1-2*k)]), 0, c=grey, linestyle='--', linewidth=s*self.linewidth, zorder=-2) else: