Exit bliss when ctrl-c is used to quit a matplotlib plot
(bliss) crg5:~ % bliss --debug --no-tmux
__ __ __
|__) | | /__` /__`
|__) |__ | .__/ .__/
Welcome to BLISS version 1.7.1 running on crg5 (in bliss Conda environment)
Copyright (c) 2015-2020 Beamline Control Unit, ESRF
-
Connected to Beacon server on crg5 (port /tmp/beacon_n8m0kos2.sock)
WARNING 2021-01-15 14:26:57,197 global.controllers.__DEFAULT__: No data policy allowed in this session.
Done.
BLISS [1]: import numpy as np
BLISS [2]: import matplotlib.pyplot as plt
BLISS [3]: data=np.random.randint(256,size=(1000,1000))
BLISS [4]: plt.imshow(data)
Out [4]: <matplotlib.image.AxesImage object at 0x7ff993d6c450>
BLISS [5]: plt.show()
^C
(bliss) crg5:~ %