remove subplots
Browse files
app.py
CHANGED
@@ -63,7 +63,6 @@ def add_to_graph(
|
|
63 |
|
64 |
return search_string, fig
|
65 |
|
66 |
-
|
67 |
def create_plotly_graph(graph: nx.DiGraph) -> go.Figure:
|
68 |
pos: Dict[Any, Tuple[float, float]] = nx.spring_layout(graph)
|
69 |
|
@@ -123,7 +122,7 @@ def create_plotly_graph(graph: nx.DiGraph) -> go.Figure:
|
|
123 |
)
|
124 |
|
125 |
# Create the figure and add traces
|
126 |
-
fig =
|
127 |
fig.add_trace(edge_trace)
|
128 |
fig.add_trace(node_trace)
|
129 |
fig.update_layout(
|
|
|
63 |
|
64 |
return search_string, fig
|
65 |
|
|
|
66 |
def create_plotly_graph(graph: nx.DiGraph) -> go.Figure:
|
67 |
pos: Dict[Any, Tuple[float, float]] = nx.spring_layout(graph)
|
68 |
|
|
|
122 |
)
|
123 |
|
124 |
# Create the figure and add traces
|
125 |
+
fig = go.Figure()
|
126 |
fig.add_trace(edge_trace)
|
127 |
fig.add_trace(node_trace)
|
128 |
fig.update_layout(
|