Spaces:
Running
Running
Update src/vis_utils.py
Browse files- src/vis_utils.py +2 -0
src/vis_utils.py
CHANGED
|
@@ -138,6 +138,8 @@ def plot_function_results(aspect, metric, method_names, function_path="/tmp/func
|
|
| 138 |
# Fill missing values with 0
|
| 139 |
df = df.fillna(0)
|
| 140 |
|
|
|
|
|
|
|
| 141 |
# Generate colors for methods
|
| 142 |
row_color_dict = {method: get_method_color(method) for method in df.index}
|
| 143 |
|
|
|
|
| 138 |
# Fill missing values with 0
|
| 139 |
df = df.fillna(0)
|
| 140 |
|
| 141 |
+
df = df.T
|
| 142 |
+
|
| 143 |
# Generate colors for methods
|
| 144 |
row_color_dict = {method: get_method_color(method) for method in df.index}
|
| 145 |
|