From 7a28eb7d1d9654eac01686b936288c8fdac99b17 Mon Sep 17 00:00:00 2001 From: SP Mohanty <spmohanty91@gmail.com> Date: Tue, 2 Jul 2019 18:54:50 +0200 Subject: [PATCH] Remove redundant debug messages --- flatland/utils/graphics_pil.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/flatland/utils/graphics_pil.py b/flatland/utils/graphics_pil.py index 947f19cc..ab974011 100644 --- a/flatland/utils/graphics_pil.py +++ b/flatland/utils/graphics_pil.py @@ -106,7 +106,6 @@ class PILGL(GraphicsLayer): return self.ltAgentColors[iAgent % self.nAgentColors] def plot(self, gX, gY, color=None, linewidth=3, layer=0, opacity=255, **kwargs): - print("Plotting ", gX, gY) color = self.adaptColor(color) if len(color) == 3: color += (opacity,) @@ -114,7 +113,6 @@ class PILGL(GraphicsLayer): color = color[:3] + (opacity,) gPoints = np.stack([array(gX), -array(gY)]).T * self.nPixCell gPoints = list(gPoints.ravel()) - print(self.draws) self.draws[layer].line(gPoints, fill=color, width=self.linewidth) def scatter(self, gX, gY, color=None, marker="o", s=50, layer=0, opacity=255, *args, **kwargs): -- GitLab