Skip to content

Commit

Permalink
update plotly figure
Browse files Browse the repository at this point in the history
  • Loading branch information
jgieseler committed Aug 1, 2024
1 parent 26f6bdd commit abf0ec9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solarmach/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1854,7 +1854,7 @@ def pfss_3d(self, active_area=(None, None, None, None), color_code='object', rss
colorscale='gray', showscale=False, opacity=0.2))

if _isstreamlit():
# fig.update_layout(width=700, height=700)
fig.update_layout(width=700, height=700)
import streamlit as st
import streamlit.components.v1 as components
tab1, tab2 = st.tabs(["3d plot", "3d plot (mobile devices)"])
Expand Down Expand Up @@ -2039,7 +2039,7 @@ def plot_3d(self,
colorscale='gray', showscale=False, opacity=0.2))

if _isstreamlit():
# fig.update_layout(width=700, height=700)
fig.update_layout(width=700, height=700)
import streamlit as st
import streamlit.components.v1 as components
tab1, tab2 = st.tabs(["3d plot", "3d plot (mobile devices)"])
Expand Down

0 comments on commit abf0ec9

Please sign in to comment.