Gym render mode. … A gym environment is created using: env = gym.