concepts.benchmark.gridworld.minigrid.gym_minigrid.window.Window#
- class Window[source]#
Bases:
object
Window to draw a gridworld instance using Matplotlib
Methods
close
()Close the window
reg_key_handler
(key_handler)Register a keyboard event handler
set_caption
(text)Set/update the caption text below the image
show
([block])Show the window, and start an event loop
show_img
(img)Show an image or update the image being shown
- __new__(**kwargs)#
Set/update the caption text below the image