code: def collides_with(self, bubble, bubbles):
      distance = self.outline_distance(bubble, bubbles)
      return np.argmin(distance, keepdims=True)
  
file_path: matplotlib/galleries/examples/misc/packed_bubbles.py
imports: import matplotlib.pyplot
  import numpy
label_desc: Use image node_id 6 for calling the BubbleChart obj's underlying member method code with example usage: obj.collides_with(bubble, bubbles) and returns: np