Skip to content

Commit 6f7cde9

Browse files
committed
Fixed the one new issue in plot_generation_functions.py module.
1 parent 0e2a989 commit 6f7cde9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pybilt/plot_generation/plot_generation_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# solution based on answer by eitanrich
1616
# https://stackoverflow.com/questions/8257385/automatic-detection-of-display-availability-with-matplotlib
1717
if os.name == 'posix' and "DISPLAY" not in os.environ:
18-
matplotlib.use('Agg')
18+
mpl.use('Agg')
1919
import matplotlib.pyplot as plt
2020
import seaborn as sns
2121
import numpy as np

0 commit comments

Comments
 (0)