Skip to content

Instantly share code, notes, and snippets.

View JackBosco's full-sized avatar

Jack Bosco JackBosco

View GitHub Profile
@botforge
botforge / gym_to_gif.py
Last active August 19, 2024 21:55
Save OpenAI Gym renders as GIFS
from matplotlib import animation
import matplotlib.pyplot as plt
import gym
"""
Ensure you have imagemagick installed with
sudo apt-get install imagemagick
Open file in CLI with:
xgd-open <filelname>