Spaces:
Sleeping
Sleeping
Commit
·
3ba1f30
1
Parent(s):
30bf09c
test
Browse files
app.py
CHANGED
@@ -146,11 +146,10 @@ def main():
|
|
146 |
st.header("Energy Flow Composition")
|
147 |
fig, ax = plt.subplots(figsize=(10, 6))
|
148 |
sns.barplot(
|
149 |
-
|
150 |
-
|
151 |
-
value_vars=["solar_contribution", "grid_dependency"],
|
152 |
-
x="Scenario",
|
153 |
y="value",
|
|
|
154 |
hue="variable",
|
155 |
ax=ax,
|
156 |
)
|
|
|
146 |
st.header("Energy Flow Composition")
|
147 |
fig, ax = plt.subplots(figsize=(10, 6))
|
148 |
sns.barplot(
|
149 |
+
data=data,
|
150 |
+
x="Scenario",
|
|
|
|
|
151 |
y="value",
|
152 |
+
|
153 |
hue="variable",
|
154 |
ax=ax,
|
155 |
)
|