Spaces:
Sleeping
Sleeping
Commit ·
17889f1
1
Parent(s): 21e4da6
rpy2
Browse files- codes/utils.py +1 -1
codes/utils.py
CHANGED
|
@@ -4,7 +4,7 @@ import collections
|
|
| 4 |
import os
|
| 5 |
import pickle
|
| 6 |
from matplotlib.patches import Patch
|
| 7 |
-
|
| 8 |
os.environ['MPLCONFIGDIR'] = '/tmp/matplotlib_cache'
|
| 9 |
os.environ['FONTCONFIG_CACHE'] = '/tmp/fontconfig_cache'
|
| 10 |
|
|
|
|
| 4 |
import os
|
| 5 |
import pickle
|
| 6 |
from matplotlib.patches import Patch
|
| 7 |
+
from rpy2.robjects import conversion, default_converter
|
| 8 |
os.environ['MPLCONFIGDIR'] = '/tmp/matplotlib_cache'
|
| 9 |
os.environ['FONTCONFIG_CACHE'] = '/tmp/fontconfig_cache'
|
| 10 |
|