MCPcopy Create free account
hub / github.com/NSLS2/PyXRF / get_selected_items_for_plot

Method get_selected_items_for_plot

pyxrf/model/draw_image.py:841–846  ·  view source on GitHub ↗

Collect the selected items for plotting.

(self)

Source from the content-addressed store, hash-verified

839 self.fig.canvas.draw_idle()
840
841 def get_selected_items_for_plot(self):
842 """Collect the selected items for plotting."""
843 # We want the dictionary to be sorted the same way as 'map_keys'
844 sdict = self.stat_dict
845 selected_keys = [_ for _ in self.map_keys if (_ in sdict) and (sdict[_] is True)]
846 return selected_keys

Callers 1

show_imageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected