From abf0ec99a89905790bb71aacf00909534a137bc4 Mon Sep 17 00:00:00 2001 From: Jan Gieseler Date: Thu, 1 Aug 2024 11:32:15 +0300 Subject: [PATCH] update plotly figure --- solarmach/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solarmach/__init__.py b/solarmach/__init__.py index 02827d5..320e4ae 100644 --- a/solarmach/__init__.py +++ b/solarmach/__init__.py @@ -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)"]) @@ -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)"])