code: def subplot(self, index_x, index_y):
          
          self._active_renderer_index = self.loc_to_index((index_x, index_y))
docs: Sets the active subplot.
  
          Parameters
          ----------
          index_x : int
              Index of the subplot to activate in the x direction.
  
          index_y : int
              Index of the subplot to activate in the y direction.