From 5ab5adfd6a02f753078f7aabe4c949163b9664a2 Mon Sep 17 00:00:00 2001
From: hagrid67 <jdhwatson@gmail.com>
Date: Wed, 24 Apr 2019 13:31:26 +0100
Subject: [PATCH] fixed an error from the merge.

---
 flatland/utils/rendertools.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/flatland/utils/rendertools.py b/flatland/utils/rendertools.py
index fd414a7..f33f113 100644
--- a/flatland/utils/rendertools.py
+++ b/flatland/utils/rendertools.py
@@ -196,8 +196,6 @@ class RenderTool(object):
 
         rcDir = rt.gTransRC[iDir]                    # agent direction in RC
         xyDir = np.matmul(rcDir, rt.grc2xy)          # agent direction in xy
-        xyDirLine = array([xyPos, xyPos + xyDir / 2]).T  # line for agent orient.
-        self.gl.plot(*xyDirLine, color=sColor, lw=5, ms=0, alpha=0.6)
 
         xyPos = np.matmul(rcPos - rcDir / 2, rt.grc2xy) + rt.xyHalf
         self.gl.scatter(*xyPos, color=color, size=40)            # agent location
-- 
GitLab