4

Can you save a graph to s3 without saving the file locally first?

from boto.s3.connection import S3Connection
from boto.s3.key import Key

k = Key(bucket)
k.key = "mykey"

plt.savefig(k.key) //??
user2954587
  • 4,351
  • 6
  • 38
  • 86
  • 1
    Possible duplicate of [python - uploading a plot from memory to s3 using matplotlib and boto](http://stackoverflow.com/questions/31485660/python-uploading-a-plot-from-memory-to-s3-using-matplotlib-and-boto) – Aidan Feldman Dec 04 '16 at 22:47

0 Answers0