Update app.py
Browse files
app.py
CHANGED
@@ -2206,7 +2206,7 @@ class WorkflowVisualizer:
|
|
2206 |
|
2207 |
row.append(value)
|
2208 |
data.append(row)
|
2209 |
-
|
2210 |
# Create heatmap
|
2211 |
fig = go.Figure(data=go.Heatmap(
|
2212 |
z=data,
|
@@ -2216,7 +2216,7 @@ class WorkflowVisualizer:
|
|
2216 |
text=np.round(data, 2),
|
2217 |
texttemplate='%{text}',
|
2218 |
textfont={"size": 12},
|
2219 |
-
colorbar=dict(title="Score",
|
2220 |
hoverongaps=False
|
2221 |
))
|
2222 |
|
|
|
2206 |
|
2207 |
row.append(value)
|
2208 |
data.append(row)
|
2209 |
+
|
2210 |
# Create heatmap
|
2211 |
fig = go.Figure(data=go.Heatmap(
|
2212 |
z=data,
|
|
|
2216 |
text=np.round(data, 2),
|
2217 |
texttemplate='%{text}',
|
2218 |
textfont={"size": 12},
|
2219 |
+
colorbar=dict(title={'text': "Score", 'side': 'right'}),
|
2220 |
hoverongaps=False
|
2221 |
))
|
2222 |
|