File "/home/lenovo/anaconda3/envs/env_rl_mujoco/lib/python3.9/site-packages/lbforaging/foraging/rendering.py", line 134, in _draw_grid
batch.add(
AttributeError: 'Batch' object has no attribute 'add'
batch is a instance of pyglet as follow
batch = pyglet.graphics.Batch()
for r in range(self.rows + 1):
batch.add(
File "/home/lenovo/anaconda3/envs/env_rl_mujoco/lib/python3.9/site-packages/lbforaging/foraging/rendering.py", line 134, in _draw_grid batch.add( AttributeError: 'Batch' object has no attribute 'add'
batch is a instance of pyglet as follow batch = pyglet.graphics.Batch() for r in range(self.rows + 1): batch.add(