Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -211,13 +211,8 @@ def generate_graph(investors, filtered_data):
|
|
211 |
titlefont_size=24,
|
212 |
margin=dict(l=20, r=20, t=60, b=20),
|
213 |
hovermode='closest',
|
214 |
-
width=
|
215 |
-
height=800
|
216 |
-
legend=dict(
|
217 |
-
title="Investors",
|
218 |
-
font=dict(size=12),
|
219 |
-
itemsizing='constant'
|
220 |
-
)
|
221 |
)
|
222 |
|
223 |
# Improve layout responsiveness
|
@@ -287,10 +282,6 @@ def main():
|
|
287 |
- **Industry**: Choose an industry to focus on companies within that sector.
|
288 |
- **Select Investors**: Pick one or more investors to visualize their network.
|
289 |
|
290 |
-
**Graph Interaction:**
|
291 |
-
- **Zoom**: Use your mouse wheel or trackpad to zoom in and out.
|
292 |
-
- **Pan**: Click and drag to move around the graph.
|
293 |
-
- **Hover**: Hover over nodes to see more information.
|
294 |
""")
|
295 |
|
296 |
demo.launch()
|
|
|
211 |
titlefont_size=24,
|
212 |
margin=dict(l=20, r=20, t=60, b=20),
|
213 |
hovermode='closest',
|
214 |
+
width=1200,
|
215 |
+
height=800
|
|
|
|
|
|
|
|
|
|
|
216 |
)
|
217 |
|
218 |
# Improve layout responsiveness
|
|
|
282 |
- **Industry**: Choose an industry to focus on companies within that sector.
|
283 |
- **Select Investors**: Pick one or more investors to visualize their network.
|
284 |
|
|
|
|
|
|
|
|
|
285 |
""")
|
286 |
|
287 |
demo.launch()
|