Skip to content

Commit

Permalink
Revert "Give helpful message in case Matplotlib isn't working"
Browse files Browse the repository at this point in the history
This reverts commit f735472.
  • Loading branch information
Marko Bastovanovic committed Nov 24, 2018
1 parent 43f7c51 commit 5ca9f7d
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions spinup/utils/plot.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5ca9f7d

Please sign in to comment.