Update app.py
Browse files
app.py
CHANGED
@@ -37,18 +37,21 @@ color_bar = ColorBar(color_mapper=color_mapper['transform'], width=8, location=(
|
|
37 |
ticker=BasicTicker(desired_num_ticks=10))
|
38 |
p.add_layout(color_bar, 'right') # Position the color bar to the right
|
39 |
|
|
|
|
|
40 |
# Add custom CSS to adjust layout
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
""
|
|
|
49 |
|
50 |
# Display the Bokeh figure in Streamlit
|
51 |
st.bokeh_chart(p,use_container_width=True)
|
52 |
|
53 |
# Close the div
|
54 |
-
st.markdown("</div>", unsafe_allow_html=True)
|
|
|
37 |
ticker=BasicTicker(desired_num_ticks=10))
|
38 |
p.add_layout(color_bar, 'right') # Position the color bar to the right
|
39 |
|
40 |
+
st.set_page_config(layout='wide')
|
41 |
+
|
42 |
# Add custom CSS to adjust layout
|
43 |
+
|
44 |
+
#st.markdown("""
|
45 |
+
# <style>
|
46 |
+
# .bokeh-chart-container {
|
47 |
+
# margin-left: -100px; /* Adjust the value as needed */
|
48 |
+
# }
|
49 |
+
# </style>
|
50 |
+
# <div class="bokeh-chart-container">
|
51 |
+
#""", unsafe_allow_html=True)
|
52 |
|
53 |
# Display the Bokeh figure in Streamlit
|
54 |
st.bokeh_chart(p,use_container_width=True)
|
55 |
|
56 |
# Close the div
|
57 |
+
#st.markdown("</div>", unsafe_allow_html=True)
|