Store and reload matplotlib.pyplot object

后端 未结 5 1003
别跟我提以往
别跟我提以往 2020-11-28 03:50

I work in an psudo-operational environment where we make new imagery on receipt of data. Sometimes when new data comes in, we need to re-open an image and update that image

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-28 04:03

    Did you try the pickle module? It serialises an object, dumps it to a file, and can reload it from the file later.

提交回复
热议问题