From 858c57ad329a099303f3e18718876e7bc1620204 Mon Sep 17 00:00:00 2001 From: Marko Bastovanovic Date: Sat, 24 Nov 2018 09:44:39 +0100 Subject: [PATCH] Revert "Give helpful message in case Matplotlib isn't working" This reverts commit f73547238c458c7597cc258f5ffbb61e6e3cac49. --- spinup/utils/plot.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/spinup/utils/plot.py b/spinup/utils/plot.py index 945ff97ac..e8d253dab 100644 --- a/spinup/utils/plot.py +++ b/spinup/utils/plot.py @@ -1,15 +1,4 @@ -import sys -try: - import seaborn as sns -except ImportError as e: - if "Python is not installed as a framework" in str(e): - print("It looks like you are using OSX and Anaconda setup, without " - "Matplotlib properly configured. \nIssuing this from the command " - "line should fix the problem:\n" - "echo \"backend: TkAgg\" >> ~/.matplotlib/matplotlibrc\n" - "For more info see " - "https://github.com/openai/spinningup/issues/1\n") - sys.exit(2) +import seaborn as sns import pandas as pd import matplotlib.pyplot as plt import json