A plot versioning tool in python for ROOT