wilmerags commited on
Commit
6339774
·
1 Parent(s): 1a578ea

feat: Cont'd np coercing for interactive plot

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -41,6 +41,7 @@ def draw_interactive_scatter_plot(
41
  ) -> Figure:
42
  # Normalize values to range between 0-255, to assign a color for each value
43
  values = np.array(values)
 
44
  max_value = values.max()
45
  min_value = values.min()
46
  if max_value - min_value == 0:
 
41
  ) -> Figure:
42
  # Normalize values to range between 0-255, to assign a color for each value
43
  values = np.array(values)
44
+ labels = np.array(labels)
45
  max_value = values.max()
46
  min_value = values.min()
47
  if max_value - min_value == 0: