serializing a graph

Is it possible to serialize a figure constructed in matplotlib/pyplot,
so that you could quickly load it and then
save it in new formats and/or interactively explore it?

thanks,

ilya