Jonas Leeb
commited on
Commit
·
c8a50e8
1
Parent(s):
20ac67a
plotting bug fix
Browse files
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
|
| 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],
|