@@ -1273,9 +1273,7 @@ def write(self, *kl, **kwargs):
12731273 # write the Encapsulated PostScript headers
12741274 print ("%!PS-Adobe-3.0 EPSF-3.0" , file = fh )
12751275 if title : print ("%%Title: " + title , file = fh )
1276- < << << << d8cac234387c1bc50b4686b9568b4f5e43149957
1277- print (("%%Creator: matplotlib version "
1278- + __version__ + ", http://matplotlib.org/" ), file = fh )
1276+ print ("%%Creator: " + creator_str , file = fh )
12791277 # get source date from SOURCE_DATE_EPOCH, if set
12801278 # See https://reproducible-builds.org/specs/source-date-epoch/
12811279 source_date_epoch = os .getenv ("SOURCE_DATE_EPOCH" )
@@ -1285,10 +1283,6 @@ def write(self, *kl, **kwargs):
12851283 else :
12861284 source_date = time .ctime ()
12871285 print ("%%CreationDate: " + source_date , file = fh )
1288- == == == =
1289- print ("%%Creator: " + creator_str , file = fh )
1290- print ("%%CreationDate: " + time .ctime (time .time ()), file = fh )
1291- >> >> >> > Allow to pass custom Creator to images created with ps backend
12921286 print ("%%%%BoundingBox: %d %d %d %d" % bbox , file = fh )
12931287 print ("%%EndComments" , file = fh )
12941288
0 commit comments