code: def cycle_interface(self, increment=1):
          
          interfaces = [i for i in netifaces.interfaces() if i not in self.ignore_interfaces]
          if self.interface in interfaces:
              next_index = (interfaces.index(self.interface) + increment) % len(interfaces)
              self.interface = interfaces[next_index]
          elif len(interfaces) > 0:
              self.interface = interfaces[0]
  
          if self.network_traffic:
              self.network_traffic.clear_counters()
              self.kbs_arr = [0.0] * self.graph_width
docs: Cycle through available interfaces in `increment` steps. Sign indicates direction.