Skip to content
Snippets Groups Projects
Commit c4edc6b5 authored by hagrid67's avatar hagrid67
Browse files

fixed lint

parent ca42a665
No related branches found
No related tags found
No related merge requests found
...@@ -503,7 +503,6 @@ class RenderTool(object): ...@@ -503,7 +503,6 @@ class RenderTool(object):
cell_coord_trans = np.matmul(cell_coord, rt.grc2xy) + rt.xyHalf cell_coord_trans = np.matmul(cell_coord, rt.grc2xy) + rt.xyHalf
self._draw_square(cell_coord_trans, 1 / (agent+1.1), color, layer=1, opacity=100) self._draw_square(cell_coord_trans, 1 / (agent+1.1), color, layer=1, opacity=100)
def renderRail(self, spacing=False, sRailColor="gray", curves=True, arrows=False): def renderRail(self, spacing=False, sRailColor="gray", curves=True, arrows=False):
cell_size = 1 # TODO: remove cell_size cell_size = 1 # TODO: remove cell_size
...@@ -629,8 +628,7 @@ class RenderTool(object): ...@@ -629,8 +628,7 @@ class RenderTool(object):
self.gl.beginFrame() self.gl.beginFrame()
if type(self.gl) is MPLGL: if type(self.gl) is MPLGL:
#self.gl.clf() # self.gl.clf()
# plt.clf()
self.gl.beginFrame() self.gl.beginFrame()
pass pass
...@@ -681,7 +679,7 @@ class RenderTool(object): ...@@ -681,7 +679,7 @@ class RenderTool(object):
if type(self.gl) is MPLGL: if type(self.gl) is MPLGL:
if show: if show:
self.gl.show(block=False) self.gl.show(block=False)
#self.gl.endFrame() # self.gl.endFrame()
self.gl.pause(0.00001) self.gl.pause(0.00001)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment