Skip to content

Commit

Permalink
nrtplot now prompts for a carriage rreturn before closing the plots
Browse files Browse the repository at this point in the history
  • Loading branch information
trmrsh committed May 6, 2021
1 parent 0657368 commit 20a6269
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hipercam/scripts/nrtplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,10 @@ def nrtplot(args=None):
# update the frame number
nframe += 1

# At then end the plots will close automatically,
# so block this by asking the user to confirm
reply = input('\nHit carriage return to close the plot(s): ')

# From here is support code not visible outside

def setup_images(nccd, nx, title, width, height):
Expand Down

0 comments on commit 20a6269

Please sign in to comment.