Spaces:
Sleeping
Sleeping
Update pages/1_Company-Expansion.py
Browse files
pages/1_Company-Expansion.py
CHANGED
@@ -11,7 +11,7 @@ expansion_df = pd.read_csv(expansion_data_path)
|
|
11 |
# Convert string representations to actual Python objects
|
12 |
expansion_df['Interactions'] = expansion_df['Interactions'].apply(ast.literal_eval)
|
13 |
|
14 |
-
st.set_page_config(layout="wide")
|
15 |
st.title("Unpacking Your Business")
|
16 |
|
17 |
if 'paused' not in st.session_state:
|
@@ -41,7 +41,7 @@ while True:
|
|
41 |
G.add_edges_from(current_interactions)
|
42 |
|
43 |
# Draw the graph
|
44 |
-
plt.figure(figsize=(
|
45 |
pos = nx.spring_layout(G) # Using spring layout to better display the graph
|
46 |
nx.draw(G, pos, with_labels=True, node_size=3000, node_color="skyblue", font_size=20, font_weight="bold", arrows=True)
|
47 |
plt.title(f'Key Roles Interaction in an Investment Firm\nValue Add: {current_value_add}', fontsize=30)
|
|
|
11 |
# Convert string representations to actual Python objects
|
12 |
expansion_df['Interactions'] = expansion_df['Interactions'].apply(ast.literal_eval)
|
13 |
|
14 |
+
# st.set_page_config(layout="wide")
|
15 |
st.title("Unpacking Your Business")
|
16 |
|
17 |
if 'paused' not in st.session_state:
|
|
|
41 |
G.add_edges_from(current_interactions)
|
42 |
|
43 |
# Draw the graph
|
44 |
+
plt.figure(figsize=(14, 10))
|
45 |
pos = nx.spring_layout(G) # Using spring layout to better display the graph
|
46 |
nx.draw(G, pos, with_labels=True, node_size=3000, node_color="skyblue", font_size=20, font_weight="bold", arrows=True)
|
47 |
plt.title(f'Key Roles Interaction in an Investment Firm\nValue Add: {current_value_add}', fontsize=30)
|