def setRenderer(self, renderer):
        self.renderer = renderer
set the renderer, which is an object of or inherited from class Renderer.
dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/graphical.py/GraphicalEnvironment.setRenderer