class_docstr: A Maze-style Gym renderer.
  
  Note: Not yet compatible with Maze offline rendering tools (i.e., while gym envs can be rendered during a rollout,
  they do not support offline rendering, such as in the Trajectory Viewer notebook).
docstr: Render the current state of the environment.
docstr_tok: ["Render","the","current","state","of","the","environment","."]
code: def render(
      self,
      maze_state: MazeStateType,
      maze_action: Optional[MazeActionType],
      events: StepEventLog,
      **kwargs,
  ) -> None:
      """Render the current state of the environment."""
      assert self.env is not None, (
          "'GymMazeEnv' renderer is not yet fully compatible with the Maze suite of "
          "rendering tools."
      )
      self.env.render()
  
imports: from copy import copy, deepcopy
  from typing import Tuple, Union, Any, Dict, Optional
  import gym
  import numpy
  from gym.envs.classic_control import CartPoleEnv, MountainCarEnv, Continuous_MountainCarEnv, PendulumEnv, AcrobotEnv
  from gym.wrappers import TimeLimit
  from maze.core.annotations import override
  from maze.core.env.action_conversion import ActionConversionInterface
  from maze.core.env.core_env import CoreEnv
  from maze.core.env.maze_action import MazeActionType
  from maze.core.env.maze_env import MazeEnv
  from maze.core.env.maze_state import MazeStateType
  from maze.core.env.observation_conversion import ObservationConversionInterface
  from maze.core.env.simulated_env_mixin import SimulatedEnvMixin
  from maze.core.env.structured_env import StepKeyType, ActorID
  from maze.core.log_events.step_event_log import StepEventLog
  from maze.core.rendering.renderer import Renderer
label_desc: Use image node_id 2 for calling the GymRenderer obj's underlying member method code with example usage: obj.render(maze_state, maze_action, events) without return types