Spaces:
Runtime error
Runtime error
gauravlochab
commited on
Commit
·
7ac8300
1
Parent(s):
f0d40a8
changes colors for barplot
Browse files
app.py
CHANGED
|
@@ -115,7 +115,8 @@ def create_visualizations():
|
|
| 115 |
color="sending_chain",
|
| 116 |
title="Chain Daily Activity: Transactions",
|
| 117 |
labels={"sending_chain": "Transaction Chain","transaction_count": "Daily Transaction Nr"},
|
| 118 |
-
barmode="stack"
|
|
|
|
| 119 |
)
|
| 120 |
fig_tx_chain.update_layout(
|
| 121 |
xaxis_title=None,
|
|
@@ -142,7 +143,8 @@ def create_visualizations():
|
|
| 142 |
color="sending_chain",
|
| 143 |
title="Chain Daily Activity: Swaps",
|
| 144 |
labels={"sending_chain": "Transaction Chain", "swap_count": "Daily Swap Nr"},
|
| 145 |
-
barmode="stack"
|
|
|
|
| 146 |
)
|
| 147 |
fig_swaps_chain.update_layout(
|
| 148 |
xaxis_title=None,
|
|
@@ -170,7 +172,8 @@ def create_visualizations():
|
|
| 170 |
color="sending_chain",
|
| 171 |
title="Chain Daily Activity: Bridges",
|
| 172 |
labels={"sending_chain": "Transaction Chain","bridge_count": "Daily Bridge Nr"},
|
| 173 |
-
barmode="stack"
|
|
|
|
| 174 |
)
|
| 175 |
fig_bridges_chain.update_layout(
|
| 176 |
xaxis_title=None,
|
|
@@ -194,7 +197,8 @@ def create_visualizations():
|
|
| 194 |
color="sending_chain",
|
| 195 |
title="Amount of Investment (USD) per Day",
|
| 196 |
labels={"sending_chain": "Transaction Chain","sending_amount_usd": "Investment Amount (USD)"},
|
| 197 |
-
barmode="stack"
|
|
|
|
| 198 |
)
|
| 199 |
fig_investment_agent.update_layout(
|
| 200 |
xaxis_title=None,
|
|
|
|
| 115 |
color="sending_chain",
|
| 116 |
title="Chain Daily Activity: Transactions",
|
| 117 |
labels={"sending_chain": "Transaction Chain","transaction_count": "Daily Transaction Nr"},
|
| 118 |
+
barmode="stack",
|
| 119 |
+
color_discrete_sequence=["purple", "darkgreen"]
|
| 120 |
)
|
| 121 |
fig_tx_chain.update_layout(
|
| 122 |
xaxis_title=None,
|
|
|
|
| 143 |
color="sending_chain",
|
| 144 |
title="Chain Daily Activity: Swaps",
|
| 145 |
labels={"sending_chain": "Transaction Chain", "swap_count": "Daily Swap Nr"},
|
| 146 |
+
barmode="stack",
|
| 147 |
+
color_discrete_sequence=["purple", "darkgreen"]
|
| 148 |
)
|
| 149 |
fig_swaps_chain.update_layout(
|
| 150 |
xaxis_title=None,
|
|
|
|
| 172 |
color="sending_chain",
|
| 173 |
title="Chain Daily Activity: Bridges",
|
| 174 |
labels={"sending_chain": "Transaction Chain","bridge_count": "Daily Bridge Nr"},
|
| 175 |
+
barmode="stack",
|
| 176 |
+
color_discrete_sequence=["purple", "darkgreen"]
|
| 177 |
)
|
| 178 |
fig_bridges_chain.update_layout(
|
| 179 |
xaxis_title=None,
|
|
|
|
| 197 |
color="sending_chain",
|
| 198 |
title="Amount of Investment (USD) per Day",
|
| 199 |
labels={"sending_chain": "Transaction Chain","sending_amount_usd": "Investment Amount (USD)"},
|
| 200 |
+
barmode="stack",
|
| 201 |
+
color_discrete_sequence=["purple", "darkgreen"]
|
| 202 |
)
|
| 203 |
fig_investment_agent.update_layout(
|
| 204 |
xaxis_title=None,
|