Spaces:
Sleeping
Sleeping
Claude commited on
Commit ·
ed093e9
1
Parent(s): 32e4804
fix: Replace deprecated Plotly titlefont with title.font
Browse files
app.py
CHANGED
|
@@ -388,9 +388,9 @@ def build_coherence_timeline(coherence_history: List[float],
|
|
| 388 |
fig.update_layout(
|
| 389 |
title="Coherence & Tension Evolution",
|
| 390 |
xaxis=dict(title="Message Index", gridcolor="rgba(200, 200, 255, 0.1)"),
|
| 391 |
-
yaxis=dict(title="Coherence (Γ)",
|
| 392 |
tickfont=dict(color="#06b6d4"), gridcolor="rgba(6, 182, 212, 0.1)"),
|
| 393 |
-
yaxis2=dict(title="Tension",
|
| 394 |
tickfont=dict(color="#ef4444"), anchor="x", overlaying="y"),
|
| 395 |
hovermode='x unified',
|
| 396 |
height=400,
|
|
|
|
| 388 |
fig.update_layout(
|
| 389 |
title="Coherence & Tension Evolution",
|
| 390 |
xaxis=dict(title="Message Index", gridcolor="rgba(200, 200, 255, 0.1)"),
|
| 391 |
+
yaxis=dict(title=dict(text="Coherence (Γ)", font=dict(color="#06b6d4")),
|
| 392 |
tickfont=dict(color="#06b6d4"), gridcolor="rgba(6, 182, 212, 0.1)"),
|
| 393 |
+
yaxis2=dict(title=dict(text="Tension", font=dict(color="#ef4444")),
|
| 394 |
tickfont=dict(color="#ef4444"), anchor="x", overlaying="y"),
|
| 395 |
hovermode='x unified',
|
| 396 |
height=400,
|