Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -182,7 +182,7 @@ class GenerateChart:
|
|
| 182 |
|
| 183 |
fig = plt.gcf()
|
| 184 |
img = fig2img(fig)
|
| 185 |
-
st.image(
|
| 186 |
|
| 187 |
def fig2img(fig):
|
| 188 |
"""Convert a Matplotlib figure to a PIL Image and return it"""
|
|
|
|
| 182 |
|
| 183 |
fig = plt.gcf()
|
| 184 |
img = fig2img(fig)
|
| 185 |
+
st.image(img, caption='Bubble chart of gpu pool of each Users')
|
| 186 |
|
| 187 |
def fig2img(fig):
|
| 188 |
"""Convert a Matplotlib figure to a PIL Image and return it"""
|