code: def show_sbridges(self):
          
          # Salt Bridges
          grp = self.getPseudoBondGroup("Salt Bridges-%i" % self.tid, associateWith=[self.model])
          grp.lineWidth = 3
          grp.lineType = self.chimera.Dash
          for i, sbridge in enumerate(self.plcomplex.saltbridges):
  
              m = self.model
              r = m.newResidue("pseudoatoms", " ", 1, " ")
              chargecenter1 = m.newAtom("CHARGE", self.chimera.Element("CHARGE"))
              x, y, z = sbridge.positive_center
              chargecenter1.setCoord(self.chimera.Coord(x, y, z))
              r.addAtom(chargecenter1)
  
              chargecenter2 = m.newAtom("CHARGE", self.chimera.Element("CHARGE"))
              x, y, z = sbridge.negative_center
              chargecenter2.setCoord(self.chimera.Coord(x, y, z))
              r.addAtom(chargecenter2)
  
              b = grp.newPseudoBond(chargecenter1, chargecenter2)
              b.color = self.colorbyname('yellow')
  
              if sbridge.protispos:
                  self.bs_res_ids += sbridge.positive_atoms
              else:
                  self.bs_res_ids += sbridge.negative_atoms
docs: Visualizes salt bridges.