Jonas Leeb commited on
Commit
c8a50e8
·
1 Parent(s): 20ac67a

plotting bug fix

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -185,7 +185,7 @@ class ArxivSearch:
185
  marker=dict(size=3.5, color='orange', opacity=0.75),
186
  name='Results'
187
  )
188
- if self.query_encoding is not None and self.query_encoding.shape[0] > 0:
189
  query_trace = go.Scatter3d(
190
  x=query_point[:, 0],
191
  y=query_point[:, 1],
 
185
  marker=dict(size=3.5, color='orange', opacity=0.75),
186
  name='Results'
187
  )
188
+ if query_point.shape[0] > 0:
189
  query_trace = go.Scatter3d(
190
  x=query_point[:, 0],
191
  y=query_point[:, 1],