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

__init__(title)[source]#
__new__(**kwargs)#
close()[source]#

Close the window

reg_key_handler(key_handler)[source]#

Register a keyboard event handler

set_caption(text)[source]#

Set/update the caption text below the image

show(block=True)[source]#

Show the window, and start an event loop

show_img(img)[source]#

Show an image or update the image being shown