Update app.py
Browse files
app.py
CHANGED
@@ -146,6 +146,10 @@ ax.set_xlabel('y1')
|
|
146 |
ax.set_ylabel('y2')
|
147 |
ax.set_title('BCEOLLN CDF Distribution Contour Plot')
|
148 |
|
|
|
|
|
|
|
|
|
149 |
# Create a 2D contour plot for PDF using Matplotlib
|
150 |
fig_2d, ax = plt.subplots()
|
151 |
cp = ax.contourf(y1, y2, cdf_values, cmap='viridis')
|
|
|
146 |
ax.set_ylabel('y2')
|
147 |
ax.set_title('BCEOLLN CDF Distribution Contour Plot')
|
148 |
|
149 |
+
# Display the plot in Streamlit
|
150 |
+
st.pyplot(fig)
|
151 |
+
|
152 |
+
|
153 |
# Create a 2D contour plot for PDF using Matplotlib
|
154 |
fig_2d, ax = plt.subplots()
|
155 |
cp = ax.contourf(y1, y2, cdf_values, cmap='viridis')
|