Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion minihack/scripts/play_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def key_handler(event):
ch = ord(event.key)

try:
action = env.actions.index(ch)
action = env.unwrapped.actions.index(ch)
step(action)
except (ValueError, TypeError):
print(
Expand Down
2 changes: 1 addition & 1 deletion minihack/tiles/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, title):
self.fig, self.ax = plt.subplots()

# Show the env name in the window title
self.fig.canvas.set_window_title(title)
self.fig.canvas.manager.set_window_title(title)

# Turn off x/y axis numbering/ticks
self.ax.xaxis.set_ticks_position("none")
Expand Down
Loading