Collect the selected items for plotting.
(self)
| 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 |