I have a python list which contains 4 elements, each of which is a time-series dataset. e.g.,
full_set = [Apple_px, Banana_px, Celery_px]
I am charting them via matplotlib and I want to save the charts individually using the variable names.
for n in full_set:
*perform analysis
plt.savefig("Chart_{}.png".format(n))
The ideal output would have Chart_Apple_px, Chart_Banana_px, Chart_Celery_px as the chart names.