Yoon-gu Hwang commited on
Commit
53d71a9
·
1 Parent(s): b9120fa

minor change

Browse files
Files changed (1) hide show
  1. visualizer.py +1 -1
visualizer.py CHANGED
@@ -115,7 +115,7 @@ def create_drift_visualization(X: np.ndarray, y: np.ndarray, drift_points: np.nd
115
 
116
  fig.add_trace(go.Bar(
117
  x=window_centers,
118
- y=drift_detected,
119
  marker=dict(color=bar_colors, line=dict(width=0)),
120
  name='Drift Detected',
121
  showlegend=False,
 
115
 
116
  fig.add_trace(go.Bar(
117
  x=window_centers,
118
+ y=[1 for d in drift_detected],
119
  marker=dict(color=bar_colors, line=dict(width=0)),
120
  name='Drift Detected',
121
  showlegend=False,