Update my_pages/multiverse.py
Browse files- my_pages/multiverse.py +5 -7
my_pages/multiverse.py
CHANGED
|
@@ -1,11 +1,8 @@
|
|
| 1 |
# pages/multiverse.py
|
| 2 |
import streamlit as st
|
| 3 |
-
import matplotlib.pyplot as plt
|
| 4 |
import plotly.graph_objects as go
|
| 5 |
from utils import go_to
|
| 6 |
|
| 7 |
-
plt.style.use('dark_background')
|
| 8 |
-
|
| 9 |
choices_list = [
|
| 10 |
{"label": "Data Collection", "icon": "📥", "questions": [
|
| 11 |
"Where will you source the data from?",
|
|
@@ -165,14 +162,15 @@ def render():
|
|
| 165 |
showlegend=False,
|
| 166 |
xaxis=dict(visible=False),
|
| 167 |
yaxis=dict(visible=False),
|
| 168 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 169 |
margin=dict(l=10, r=10, t=10, b=10),
|
| 170 |
hovermode="closest"
|
| 171 |
)
|
| 172 |
|
| 173 |
-
# fig.patch.set_alpha(0)
|
| 174 |
-
# ax.patch.set_alpha(0)
|
| 175 |
-
|
| 176 |
st.plotly_chart(fig, use_container_width=True)
|
| 177 |
|
| 178 |
st.markdown("---")
|
|
|
|
| 1 |
# pages/multiverse.py
|
| 2 |
import streamlit as st
|
|
|
|
| 3 |
import plotly.graph_objects as go
|
| 4 |
from utils import go_to
|
| 5 |
|
|
|
|
|
|
|
| 6 |
choices_list = [
|
| 7 |
{"label": "Data Collection", "icon": "📥", "questions": [
|
| 8 |
"Where will you source the data from?",
|
|
|
|
| 162 |
showlegend=False,
|
| 163 |
xaxis=dict(visible=False),
|
| 164 |
yaxis=dict(visible=False),
|
| 165 |
+
# paper_bgcolor='rgba(0,0,0,0)', # transparent
|
| 166 |
+
# plot_bgcolor='rgba(0,0,0,0)', # transparent
|
| 167 |
+
paper_bgcolor='black',
|
| 168 |
+
plot_bgcolor='black',
|
| 169 |
+
font=dict(color='white')
|
| 170 |
margin=dict(l=10, r=10, t=10, b=10),
|
| 171 |
hovermode="closest"
|
| 172 |
)
|
| 173 |
|
|
|
|
|
|
|
|
|
|
| 174 |
st.plotly_chart(fig, use_container_width=True)
|
| 175 |
|
| 176 |
st.markdown("---")
|