Hi - Below is code.
plt.show() is showing a graph. But file is not saving in replit. Any ideas thanks?!
gcat = sns.catplot(data = df_cat, x = 'variable', hue = 'value', col = 'cardio', kind = 'count')
gcat.set_axis_labels('variable', 'total')
plt.show()
fig = gcat.fig
# Do not modify the next two lines
fig.savefig('catplot.png')
return fig```