Skip to content

Commit

Permalink
Override creationDate for reproducible output
Browse files Browse the repository at this point in the history
  • Loading branch information
mmore500 authored Oct 13, 2024
1 parent 845f4b4 commit 1fa5d5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions teeplot/teeplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ def save_callback():
bbox_inches='tight',
transparent=teeplot_transparent,
dpi=teeplot_dpi,
# see https://matplotlib.org/2.1.1/users/whats_new.html#reproducible-ps-pdf-and-svg-output
metadata={'creationDate': None},
)

if teeplot_show or (teeplot_show is None and hasattr(sys, 'ps1')):
Expand Down

0 comments on commit 1fa5d5f

Please sign in to comment.