Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#139·reinforcement-learning-an-introduction

something wrong in matplotlib

Author: FYYFUCreated Jan 17, 2021Updated Jan 17, 2021

The file is in Link. ERROR: RuntimeError: Invalid DISPLAY variable

The code:

matplotlib.use('Agg')

might be set before code:

import matplotlib.pyplot as plt

Source: ShangtongZhang/reinforcement-learning-an-introduction

View original on GitHubView discussion on GitHub