We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e2a989 commit 6f7cde9Copy full SHA for 6f7cde9
1 file changed
pybilt/plot_generation/plot_generation_functions.py
@@ -15,7 +15,7 @@
15
# solution based on answer by eitanrich
16
# https://stackoverflow.com/questions/8257385/automatic-detection-of-display-availability-with-matplotlib
17
if os.name == 'posix' and "DISPLAY" not in os.environ:
18
- matplotlib.use('Agg')
+ mpl.use('Agg')
19
import matplotlib.pyplot as plt
20
import seaborn as sns
21
import numpy as np
0 commit comments