class_docstr: Interface for renderers of individual environments.
  
  Renders state of one particular step -- based only on current state.
docstr: Render the current state as a matplotlib figure.
  
  Note that the maze_action is optional -- it is None for the last (terminal) state in the episode!
  
  :param maze_state: State to render.
  :param maze_action: MazeAction to render. Should be the MazeAction derived from the state to render
                      (provided above)
  :param events: Events dispatched by the env during the last step (i.e. when the given state was produced)
  :param kwargs: Any additional arguments that the renderer accepts and exposes
docstr_tok: ["Render","the","current","state","as","a","matplotlib","figure",".","Note","that","the","maze_action","is","optional","--","it","is","None","for","the","last","(","terminal",")","state","in","the","episode","!",":","param","maze_state",":","State","to","render",".",":","param","maze_action",":","MazeAction","to","render",".","Should","be","the","MazeAction","derived","from","the","state","to","render","(","provided","above",")",":","param","events",":","Events","dispatched","by","the","env","during","the","last","step","(","i.e",".","when","the","given","state","was","produced",")",":","param","kwargs",":","Any","additional","arguments","that","the","renderer","accepts","and","exposes"]
code: def render(
      self,
      maze_state: MazeStateType,
      maze_action: Optional[MazeActionType],
      events: StepEventLog,
      **kwargs,
  ) -> None:
      """Render the current state as a matplotlib figure.
  
      Note that the maze_action is optional -- it is None for the last (terminal) state in the episode!
  
      :param maze_state: State to render.
      :param maze_action: MazeAction to render. Should be the MazeAction derived from the state to render
                          (provided above)
      :param events: Events dispatched by the env during the last step (i.e. when the given state was produced)
      :param kwargs: Any additional arguments that the renderer accepts and exposes
      """
      raise NotImplementedError
  
file_path: maze/maze/core/rendering/renderer.py
imports: from abc import abstractmethod, ABC
  from typing import List, Optional
  from maze.core.env.maze_action import MazeActionType
  from maze.core.env.maze_state import MazeStateType
  from maze.core.log_events.step_event_log import StepEventLog
  from maze.core.rendering.renderer_args import RendererArg
label_desc: Use image node_id 2 for calling the Renderer obj's underlying member method code with example usage: obj.render(maze_state, maze_action, events) without return types