def set_subtitle(self, label, index=0):
        if index not in (0, 1): index = 0
        self.subtitle[index].SetLabel(label)
dataset/ETHPy150Open xraypy/xraylarch/plugins/wx/periodictable.py/PeriodicTablePanel.set_subtitle/original