petter2025 commited on
Commit
ab30c61
·
verified ·
1 Parent(s): 107e412

Update core/visualizations.py

Browse files
Files changed (1) hide show
  1. core/visualizations.py +3 -4
core/visualizations.py CHANGED
@@ -14,7 +14,6 @@ try:
14
  import plotly.graph_objects as go
15
  import plotly.express as px
16
  import numpy as np
17
- import pandas as pd
18
  PLOTLY_AVAILABLE = True
19
  logger.info("✅ Plotly available for advanced visualizations")
20
  except ImportError as e:
@@ -205,7 +204,7 @@ class EnhancedVisualizationEngine:
205
 
206
  <div style="text-align: center; padding: 15px; background: #f8fafc; border-radius: 12px;">
207
  <div style="font-size: 12px; color: #64748b; margin-bottom: 8px;">Detection Accuracy</div>
208
- <div style="font-size: 28px; font-weight: 700; color: #10b981;">94%</div>
209
  <div style="font-size: 10px; color: #94a3b8; margin-top: 4px;">{boundary_text}</div>
210
  </div>
211
  </div>
@@ -701,7 +700,7 @@ class EnhancedVisualizationEngine:
701
  <div style="font-size: 12px; color: #64748b;">Manual Process</div>
702
  </div>
703
  <div style="display: flex; align-items: center; gap: 6px;">
704
- <div style="width: 12px; height: 12px; background: {boundary_color}; border-radius: 2px;"></div>
705
  <div style="font-size: 12px; color: #64748b;">ARF ({boundary_text})</div>
706
  </div>
707
  </div>
@@ -803,7 +802,7 @@ class EnhancedVisualizationEngine:
803
  <tr>
804
  <th style="padding: 8px; text-align: left; color: #64748b; font-size: 13px; border-bottom: 2px solid #e2e8f0;">Agent</th>
805
  <th style="padding: 8px; text-align: center; color: #64748b; font-size: 13px; border-bottom: 2px solid #e2e8f0;">Accuracy</th>
806
- <th style="padding: 8px; text-align: center; color: #64748b; font-size: 13px; border-bottom: 2px solid #e2e8f0;">Speed</th>
807
  </tr>
808
  </thead>
809
  <tbody>
 
14
  import plotly.graph_objects as go
15
  import plotly.express as px
16
  import numpy as np
 
17
  PLOTLY_AVAILABLE = True
18
  logger.info("✅ Plotly available for advanced visualizations")
19
  except ImportError as e:
 
204
 
205
  <div style="text-align: center; padding: 15px; background: #f8fafc; border-radius: 12px;">
206
  <div style="font-size: 12px; color: #64748b; margin-bottom: 8px;">Detection Accuracy</div>
207
+ <div style="font-size: 28px; font-weight=700; color: #10b981;">94%</div>
208
  <div style="font-size: 10px; color: #94a3b8; margin-top: 4px;">{boundary_text}</div>
209
  </div>
210
  </div>
 
700
  <div style="font-size: 12px; color: #64748b;">Manual Process</div>
701
  </div>
702
  <div style="display: flex; align-items: center; gap: 6px;">
703
+ <div style="width: 12px; height=12px; background: {boundary_color}; border-radius: 2px;"></div>
704
  <div style="font-size: 12px; color: #64748b;">ARF ({boundary_text})</div>
705
  </div>
706
  </div>
 
802
  <tr>
803
  <th style="padding: 8px; text-align: left; color: #64748b; font-size: 13px; border-bottom: 2px solid #e2e8f0;">Agent</th>
804
  <th style="padding: 8px; text-align: center; color: #64748b; font-size: 13px; border-bottom: 2px solid #e2e8f0;">Accuracy</th>
805
+ <th style="padding: 8px; text-align: center; color: #64748b; font-size=13px; border-bottom: 2px solid #e2e8f0;">Speed</th>
806
  </tr>
807
  </thead>
808
  <tbody>