I have to do a lot of plots.
I would like to put an identifier into each plot that identifies the way the plot was made.
This identifier then could point to a database that contains the script and extra information.

Here is an example:

The interface would be:

fig.savefig("example.pdf",{"creator": "2009-11-13"})