Skip to content

Commit 1d7d4fa

Browse files
author
Gerry Manoim
committed
Force non interactive if no display
1 parent 57c03b3 commit 1d7d4fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alphalens/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
if os.environ.get('DISPLAY', '') == '':
2424
print('no display found. Using non-interactive Agg backend')
2525
matplotlib.use('Agg')
26-
import seaborn as sns
26+
import seaborn as sns # noqa: E402
2727
import matplotlib.cm as cm # noqa: E402
2828
import matplotlib.pyplot as plt # noqa: E402
2929
from matplotlib.ticker import ScalarFormatter # noqa: E402

0 commit comments

Comments
 (0)