scipion-em / scipion-em-facilities

Plugin for Cryo-EM facilities to be used within Scipion framework
GNU General Public License v3.0
0 stars 1 forks source link

make system monitor viewer interactive again #21

Closed rmarabini closed 1 year ago

rmarabini commented 1 year ago

Once upon the time the plot showing the monitor data was interactive and animated. That is, by pressing certain keys it showed or hid some of the data plotted and the plot was re-ploted each few seconds. At some point in the past these properties were lost. I have modified the code for the "system monitor" so interactivity is back. No modification has been made for the other monitors although I guess the same changes need to be applied to them.

Since this is a viewer no test has been added. In order to test this you may create a minimal project with "import particles in streaming" and "system monitor" and visualize system monitor. By pressing the keys "c", "d", "n" information related with "cpu", "disk" and "network" should dissappear/appear. Plot should repaint each few seconds