Skip to content

Commit

Permalink
fix: viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
sash-a authored and clement-bonnet committed Mar 13, 2024
1 parent 8750260 commit 1bec548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jumanji/environments/logic/sliding_tile_puzzle/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def animate(

def make_frame(state_index: int) -> None:
state = states[state_index]
self.draw_puzzle(ax, state.puzzle)
self.draw_puzzle(ax, state)

self._animation = matplotlib.animation.FuncAnimation(
fig,
Expand Down

0 comments on commit 1bec548

Please sign in to comment.