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 April 29, 2024 10:27
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>