def plot_loss(self):
        try:
            from matplotlib import pyplot
        except __HOLE__:
            "Can not plot loss, matplotlib required"
        pyplot.plot(self.loss[1:])
        pyplot.xlabel("Iteration")
        pyplot.ylabel("Loss")
        pyplot.show()
dataset/ETHPy150Open sisl/Chimp/chimp/agents/dqn_agent.py/DQNAgent.plot_loss