Update app.py
Browse files
app.py
CHANGED
|
@@ -90,7 +90,9 @@ if sidebar_option == "3D Drawing: Animations of 3D Rotation":
|
|
| 90 |
# Display animation in Streamlit
|
| 91 |
with st.spinner("Rendering animation..."):
|
| 92 |
ani.save("animation.gif", writer="imagemagick")
|
| 93 |
-
st.image("animation.gif", caption="3D Graph Rotation",
|
|
|
|
|
|
|
| 94 |
|
| 95 |
# Function to display Weighted Graph
|
| 96 |
def display_weighted_graph():
|
|
|
|
| 90 |
# Display animation in Streamlit
|
| 91 |
with st.spinner("Rendering animation..."):
|
| 92 |
ani.save("animation.gif", writer="imagemagick")
|
| 93 |
+
st.image("animation.gif", caption="3D Graph Rotation", use_container_width=True)
|
| 94 |
+
|
| 95 |
+
|
| 96 |
|
| 97 |
# Function to display Weighted Graph
|
| 98 |
def display_weighted_graph():
|