Skip to content

Commit

Permalink
print location of plot for convenience
Browse files Browse the repository at this point in the history
  • Loading branch information
danellecline committed Sep 13, 2024
1 parent c3705ff commit 2acc745
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pbp/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ def plot_dataset_summary(
plt.gcf().text(0.65, 0.91, "UTC")

if jpeg_filename is not None:
print(f"Saving plot to {jpeg_filename}")
plt.savefig(jpeg_filename, dpi=dpi)
if show:
plt.show()
Expand Down

0 comments on commit 2acc745

Please sign in to comment.