tonyassi commited on
Commit
5c02a88
·
verified ·
1 Parent(s): 88897ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -9
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
- st.markdown("""
42
- <style>
43
- .bokeh-chart-container {
44
- margin-left: -100px; /* Adjust the value as needed */
45
- }
46
- </style>
47
- <div class="bokeh-chart-container">
48
- """, unsafe_allow_html=True)
 
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)