Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,7 @@ import matplotlib.pyplot as plt
|
|
6 |
import gradio as gr
|
7 |
|
8 |
def plot_chey(X):
|
9 |
-
|
10 |
-
fig,ax = plt.subplots()
|
11 |
return fig
|
12 |
|
13 |
title='Plot'
|
|
|
6 |
import gradio as gr
|
7 |
|
8 |
def plot_chey(X):
|
9 |
+
fig,ax = X.figure, X.axes
|
|
|
10 |
return fig
|
11 |
|
12 |
title='Plot'
|