code: def __init__(self, ax, X):
      self.index = 0
      self.X = X
      self.ax = ax
      self.im = ax.imshow(self.X[:, :, self.index])
      self.update()
  
imports: import matplotlib.pyplot
  import numpy
label_desc: Use image node_id 1 to create a new IndexTracker object  with example: obj = IndexTracker(ax, X)