hyperspyUI icon indicating copy to clipboard operation
hyperspyUI copied to clipboard

Shortcut for getting current signal

Open thomasaarholt opened this issue 8 years ago • 0 comments
trafficstars

At the moment, s = ui.get_selected_signal(). Could I propose changing this to s = ui.get_current_signal(), copying matplotlib behaviour and allowing for the acronym-method s = ui.gcs(). In matplotlib, one normally gets ahold of the current figure by plt.gcf(), so something similar would be welcome. The current call is quite long, which isn't ideal.

thomasaarholt avatar Jan 18 '17 18:01 thomasaarholt