def showDensity(self, data, nx): if not self.isGraphing(): return dv1 = Graphs.DrawElectronDensity(data, nx) self._sendplot(dv1)