Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
046f6d6
1
Parent(s):
c035a23
fix(gui): use Agg backend for plots
Browse files- gui/plots.py +4 -0
gui/plots.py
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
import numpy as np
|
2 |
import pandas as pd
|
3 |
from matplotlib import pyplot as plt
|
|
|
1 |
+
import matplotlib
|
2 |
+
|
3 |
+
matplotlib.use("agg")
|
4 |
+
|
5 |
import numpy as np
|
6 |
import pandas as pd
|
7 |
from matplotlib import pyplot as plt
|