Skip to content

Commit

Permalink
Force non interactive if no display
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerry Manoim committed Mar 10, 2020
1 parent 57c03b3 commit 1d7d4fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alphalens/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
if os.environ.get('DISPLAY', '') == '':
print('no display found. Using non-interactive Agg backend')
matplotlib.use('Agg')
import seaborn as sns
import seaborn as sns # noqa: E402
import matplotlib.cm as cm # noqa: E402
import matplotlib.pyplot as plt # noqa: E402
from matplotlib.ticker import ScalarFormatter # noqa: E402
Expand Down

0 comments on commit 1d7d4fa

Please sign in to comment.