Spaces:
Running
Running
Update src/vis_utils.py
Browse files- src/vis_utils.py +6 -0
src/vis_utils.py
CHANGED
|
@@ -7,8 +7,14 @@ import yaml
|
|
| 7 |
import matplotlib.pyplot as plt
|
| 8 |
import seaborn as sns
|
| 9 |
import plotnine as p9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
from about import *
|
|
|
|
| 12 |
global data_component, filter_component
|
| 13 |
|
| 14 |
def get_method_color(method):
|
|
|
|
| 7 |
import matplotlib.pyplot as plt
|
| 8 |
import seaborn as sns
|
| 9 |
import plotnine as p9
|
| 10 |
+
import sys
|
| 11 |
+
|
| 12 |
+
script_dir = os.path.dirname(os.path.abspath(__file__))
|
| 13 |
+
sys.path.append('..')
|
| 14 |
+
sys.path.append('.')
|
| 15 |
|
| 16 |
from about import *
|
| 17 |
+
|
| 18 |
global data_component, filter_component
|
| 19 |
|
| 20 |
def get_method_color(method):
|